aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2014-12-02 14:07:30 +0300
committerChristoph Hellwig <hch@lst.de>2014-12-02 18:26:52 +0100
commit249b15ba6380830881b7863ca5dd3f33320adfdb (patch)
tree8e475fe2d9cba9ff41af37522b3020da61fb6686 /Documentation
parentscsi: add SPC-3 command definitions (diff)
downloadlinux-dev-249b15ba6380830881b7863ca5dd3f33320adfdb.tar.xz
linux-dev-249b15ba6380830881b7863ca5dd3f33320adfdb.zip
scsi: set fmt to NULL scsi_extd_sense_format() by default
One of the two callers passes an unintialized pointer as "fmt" and expects it to be set to NULL if there is no format string. Let's make this function work as expected. Fixes: d811b848ebb7 ('scsi: use sdev as argument for sense code printing') Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Reviewed-by: James Bottomley <JBottomley@Parallels.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions