Re: [PATCH] net: cdc_ncm: initialize drvflags before usage

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

 



On Sat, Feb 03, 2018 at 11:30:32AM +0100, Matthias wrote:
> From: Matthias Hintzmann <matthias.dev@xxxxxx>
> 
> ctx->drvflags is checked in the if clause before beeing initialized. Move initialization before first usage.
> 
> Note, that the if clause was backported from mainline at Nov. 15th 2017 (GetNtbFormat endian fix). In mainline, the initialization is at the right place before the if clause.

Please format the lines at 72 columns :(

Also, what git commit id is this fixing?

And finally, what stable tree(s) do you want it applied to?

thanks,

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]