summaryrefslogtreecommitdiffstats
path: root/lib/prime_numbers.c
diff options
context:
space:
mode:
authorMing Lei <tom.leiming@gmail.com>2017-03-28 16:17:55 +0800
committerShaohua Li <shli@fb.com>2017-03-28 08:49:52 -0700
commit8fc04e6ea02d631fd344f462002078b8067793de (patch)
tree322baea34569d1886dc8e2a0c4ee522817017dad /lib/prime_numbers.c
parent0bb0c10500ba634216238c40e1eeddce92b4d488 (diff)
downloadlinux-8fc04e6ea02d631fd344f462002078b8067793de.tar.bz2
md: raid1: kill warning on powerpc_pseries
This patch kills the warning reported on powerpc_pseries, and actually we don't need the initialization. After merging the md tree, today's linux-next build (powerpc pseries_le_defconfig) produced this warning: drivers/md/raid1.c: In function 'raid1d': drivers/md/raid1.c:2172:9: warning: 'page_len$' may be used uninitialized in this function [-Wmaybe-uninitialized] if (memcmp(page_address(ppages[j]), ^ drivers/md/raid1.c:2160:7: note: 'page_len$' was declared here int page_len[RESYNC_PAGES]; ^ Signed-off-by: Ming Lei <tom.leiming@gmail.com> Signed-off-by: Shaohua Li <shli@fb.com>
Diffstat (limited to 'lib/prime_numbers.c')
0 files changed, 0 insertions, 0 deletions