Re: [PATCH] scsi_dh_alua: Declare local functions static

2016-04-15 Thread Martin K. Petersen
> "Bart" == Bart Van Assche writes: Bart> This patch avoids that building with W=1 causes gcc to report the Bart> following type of warning: Bart> no previous prototype for ... [-Wmissing-prototypes] Applied to 4.7/scsi-queue. -- Martin K. Petersen Oracle Linux Engineering -- To

Re: [PATCH] scsi_dh_alua: Declare local functions static

2016-04-14 Thread Hannes Reinecke
On 04/14/2016 07:27 PM, Bart Van Assche wrote: > This patch avoids that building with W=1 causes gcc to report the > following type of warning: > > no previous prototype for ... [-Wmissing-prototypes] > > Signed-off-by: Bart Van Assche > Cc: Hannes Reinecke > Cc: Christoph Hellwig > Cc: Ew

[PATCH] scsi_dh_alua: Declare local functions static

2016-04-14 Thread Bart Van Assche
This patch avoids that building with W=1 causes gcc to report the following type of warning: no previous prototype for ... [-Wmissing-prototypes] Signed-off-by: Bart Van Assche Cc: Hannes Reinecke Cc: Christoph Hellwig Cc: Ewan Milne --- drivers/scsi/device_handler/scsi_dh_alua.c | 8 +++