Re: [PATCH 1/2] scsi: qla2xxx: silent -Wformat-security warning

2017-01-02 Thread Bart Van Assche
On Mon, 2016-12-26 at 14:23 +0100, Nicolas Iooss wrote: > Even though msix_entries[...].name are initialized as literal strings > with no % character and are never modified, introduce a "%s" format > parameter in order to silent this -Wformat-security warning and make > clang able to detect at comp

Re: [PATCH 2/2] scsi: qla2xxx: make msix_entries const

2017-01-02 Thread Bart Van Assche
On Mon, 2016-12-26 at 14:23 +0100, Nicolas Iooss wrote: > msix_entries and qla82xx_msix_entries arrays are never modified in > drivers/scsi/qla2xxx/qla_isr.c. Move their contents to read-only data. Reviewed-by: Bart Van Assche

[PATCH] scsi: ufs-qcom: Fix module autoload

2017-01-02 Thread Javier Martinez Canillas
If the driver is built as a module, autoload won't work because the module alias information is not filled. So user-space can't match the registered device with the corresponding module. Export the module alias information using the MODULE_DEVICE_TABLE() macro. Before this patch: $ modinfo drive

Re: [4.10, panic, regression] iscsi: null pointer deref at iscsi_tcp_segment_done+0x20d/0x2e0

2017-01-02 Thread Johannes Weiner
On Fri, Dec 23, 2016 at 03:33:29AM -0500, Johannes Weiner wrote: > On Fri, Dec 23, 2016 at 02:32:41AM -0500, Johannes Weiner wrote: > > On Thu, Dec 22, 2016 at 12:22:27PM -0800, Hugh Dickins wrote: > > > On Wed, 21 Dec 2016, Linus Torvalds wrote: > > > > On Wed, Dec 21, 2016 at 9:13 PM, Dave Chinne