diff options
author | Dan Carpenter <[email protected]> | 2014-12-02 14:07:30 +0300 |
---|---|---|
committer | Christoph Hellwig <[email protected]> | 2014-12-02 18:26:52 +0100 |
commit | 249b15ba6380830881b7863ca5dd3f33320adfdb (patch) | |
tree | 8e475fe2d9cba9ff41af37522b3020da61fb6686 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 85686f696d81a4bcfa5e51ee9ee2b6aae5531c6f (diff) |
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 <[email protected]>
Reviewed-by: James Bottomley <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions