From: Dan Carpenter Date: Fri, 25 Aug 2017 10:33:40 +0000 (+0300) Subject: powerpc/44x: Fix mask and shift to zero bug X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c82575e660913d358714ab1a3123f497318b73a3;p=pandora-kernel.git powerpc/44x: Fix mask and shift to zero bug commit 8d046759f6ad75824fdf7b9c9a3da0272ea9ea92 upstream. My static checker complains that 0x00001800 >> 13 is zero. Looking at the context, it seems like a copy and paste bug from the line below and probably 0x3 << 13 or 0x00006000 was intended. Fixes: 2af59f7d5c3e ("[POWERPC] 4xx: Add 405GPr and 405EP support in boot wrapper") Signed-off-by: Dan Carpenter Acked-by: Benjamin Herrenschmidt Signed-off-by: Michael Ellerman Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed