Re: [PATCH 5.19 0246/1157] usercopy: use unsigned long instead of uintptr_t

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
> > 
> > [ 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



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux