From e4fbaee29272533a242f117d18712e2974520d2c Mon Sep 17 00:00:00 2001 From: Wang Shilong Date: Fri, 11 Apr 2014 18:32:25 +0800 Subject: [PATCH] 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 Signed-off-by: Wang Shilong Signed-off-by: Chris Mason --- Reading git-format-patch failed