powerpc/44x: mask and shift to zero bug

Michael Ellerman patch-notifications at ellerman.id.au
Thu Aug 31 21:36:21 AEST 2017


On Fri, 2017-08-25 at 10:33:40 UTC, Dan Carpenter wrote:
> 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 <dan.carpenter at oracle.com>
> Acked-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/8d046759f6ad75824fdf7b9c9a3da0

cheers


More information about the Linuxppc-dev mailing list