diff options
author | Wang Shilong <wangsl.fnst@cn.fujitsu.com> | 2014-04-11 14:32:25 +0400 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2014-04-11 17:35:50 +0400 |
commit | e4fbaee29272533a242f117d18712e2974520d2c (patch) | |
tree | 69a9c2a98f4ec998bace41755a50949bf594ac17 /include | |
parent | 0723a0473fb48a1c93b113a28665b64ce5faf35a (diff) | |
download | linux-e4fbaee29272533a242f117d18712e2974520d2c.tar.xz |
Btrfs: fix compile warnings on on avr32 platform
fs/btrfs/scrub.c: In function 'get_raid56_logic_offset':
fs/btrfs/scrub.c:2269: warning: comparison of distinct pointer types lacks a cast
fs/btrfs/scrub.c:2269: warning: right shift count >= width of type
fs/btrfs/scrub.c:2269: warning: passing argument 1 of '__div64_32' from incompatible pointer type
Since @rot is an int type, we should not use do_div(), fix it.
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Wang Shilong <wangsl.fnst@cn.fujitsu.com>
Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions