]> Git Repo - linux.git/commit - drivers/scsi/sg.c
scsi: sg: Fix type of last blk_trace_setup() argument
authorBart Van Assche <[email protected]>
Fri, 25 Aug 2017 20:46:36 +0000 (13:46 -0700)
committerMartin K. Petersen <[email protected]>
Fri, 25 Aug 2017 21:08:08 +0000 (17:08 -0400)
commit7475c8ae1b7bfc20b0fa586e6fc5155bac5d208b
tree7de5347f305638bc7a0ebf38fa62cea721581642
parent830cc351bc3c7f867daf92f17992bca34a647d8c
scsi: sg: Fix type of last blk_trace_setup() argument

Avoid that sparse reports the following:

drivers/scsi/sg.c:1114:41: warning: incorrect type in argument 5 (different address spaces)
drivers/scsi/sg.c:1114:41:    expected char [noderef] <asn:1>*arg
drivers/scsi/sg.c:1114:41:    got char *<noident>

This patch does not change any functionality.

Signed-off-by: Bart Van Assche <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Cc: Johannes Thumshirn <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
drivers/scsi/sg.c
This page took 0.057905 seconds and 4 git commands to generate.