diff options
author | Liu Bo <[email protected]> | 2018-09-08 04:41:40 +0800 |
---|---|---|
committer | David Sterba <[email protected]> | 2018-10-15 17:23:30 +0200 |
commit | 3b2fd8016069de59f73caca06f7ad60c25f3eb92 (patch) | |
tree | eca1cafa585e31455fb05547967a98c4fbc988ed /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | a27a94c2b0c727517c17cf2ca3a9f7291caadfbc (diff) |
Btrfs: use args in the correct order for kcalloc in btrfsic_read_block
kcalloc is defined as:
kcalloc(size_t n, size_t size, gfp_t flags)
Although this won't cause problems in practice, btrfsic_read_block()
uses kcalloc with n and size in the opposite order.
Reviewed-by: Omar Sandoval <[email protected]>
Signed-off-by: Liu Bo <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions