[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Yvtv1MNpJlt76uoV@kroah.com>
Date: Tue, 16 Aug 2022 12:22:12 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: Matthew Wilcox <willy@...radead.org>
Cc: linux-kernel@...r.kernel.org, stable@...r.kernel.org,
Uladzislau Rezki <urezki@...il.com>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Joe Perches <joe@...ches.com>,
"Jason A. Donenfeld" <Jason@...c4.com>,
Kees Cook <keescook@...omium.org>,
Sasha Levin <sashal@...nel.org>
Subject: Re: [PATCH 5.19 0246/1157] usercopy: use unsigned long instead of
uintptr_t
On Mon, Aug 15, 2022 at 09:06:21PM +0100, Matthew Wilcox wrote:
> On Mon, Aug 15, 2022 at 07:53:22PM +0200, Greg Kroah-Hartman wrote:
> > From: Jason A. Donenfeld <Jason@...c4.com>
> >
> > [ Upstream commit 170b2c350cfcb6f74074e44dd9f916787546db0d ]
> >
> > A recent commit factored out a series of annoying (unsigned long) casts
> > into a single variable declaration, but made the pointer type a
> > `uintptr_t` rather than the usual `unsigned long`. This patch changes it
> > to be the integer type more typically used by the kernel to represent
> > addresses.
> >
> > Fixes: 35fb9ae4aa2e ("usercopy: Cast pointer to an integer once")
>
> Not sure why this needs to be backported?
Odd, shouldn't be, now dropped.
greg k-h
Powered by blists - more mailing lists