lkml.org 
[lkml]   [2023]   [Nov]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Reply: A null-ptr crash in linux-6.4 usb driver
On Wed, Nov 08, 2023 at 07:40:08AM +0000, 柳菁峰 wrote:
> I have made a patch that simply checks for null pointer, but I am not sure if this will affect certain functions or logic. I hope you can check it carefully.
>
> 1006c1006
> < if (dev->p->dead) {
> ---
> > if (!dev->p||dev->p->dead) {

Can you take a look at the file,
Documentation/process/submitting-patches.rst for how to properly
generate a patch? This does not give us any context to even know what
file you are changing.

Also, we have no context at all to even know what this is about at all,
what is this for?

confused,

greg k-h

\
 
 \ /
  Last update: 2023-11-20 13:52    [W:0.034 / U:0.212 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site