[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200618152204.GU4151@kadam>
Date: Thu, 18 Jun 2020 18:22:04 +0300
From: Dan Carpenter <dan.carpenter@...cle.com>
To: Garrit Franke <garritfranke@...il.com>
Cc: Liviu Dudau <liviu.dudau@....com>,
Colin Ian King <colin.king@...onical.com>,
David Airlie <airlied@...ux.ie>,
kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org,
dri-devel@...ts.freedesktop.org
Subject: Re: [PATCH] drm/arm: fix unintentional integer overflow on left shift
On Thu, Jun 18, 2020 at 04:36:51PM +0200, Garrit Franke wrote:
> Hi all, newbie here.
> Can the BIT macro be safely used on other parts of the kernel as well?
> Just using git grep "1 <<" returns a ton of results where bit shifting
> is used the old fashioned way.
Yeah. There is a checkpatch warning for it and everything. :)
But I like the way you think. Start with patches to staging though.
People don't necessarily like doing cleanups on ancient code.
regards,
dan carpenter
Powered by blists - more mailing lists