lkml.org 
[lkml]   [2022]   [Aug]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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@zx2c4.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

\
 
 \ /
  Last update: 2022-09-17 16:27    [W:1.978 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site