From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ozlabs.org (ozlabs.org [IPv6:2401:3900:2:1::2]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3xjgLY5RyrzDqGZ for ; Thu, 31 Aug 2017 21:36:21 +1000 (AEST) In-Reply-To: <20170825103340.op3uphrv3eyeutiz@mwanda> To: Dan Carpenter , Benjamin Herrenschmidt , Matthias Fuchs From: Michael Ellerman Cc: kernel-janitors@vger.kernel.org, Paul Mackerras , linuxppc-dev@lists.ozlabs.org Subject: Re: powerpc/44x: mask and shift to zero bug Message-Id: <3xjgLY3B4Qz9t2y@ozlabs.org> Date: Thu, 31 Aug 2017 21:36:21 +1000 (AEST) List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 > Acked-by: Benjamin Herrenschmidt Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/8d046759f6ad75824fdf7b9c9a3da0 cheers