diff options
author | Laura Lawniczak <laura.lawniczak@googlemail.com> | 2013-06-06 18:10:47 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-06-06 11:48:50 -0700 |
commit | 29b31420f62277140f510b96a6356fa334029007 (patch) | |
tree | 812069f638d66d9ab44af72f33e8506d54fdb16d /drivers/staging/keucr/transport.c | |
parent | 3fb91d1128ff8a211f0a2b4dec9ad34d33ce6316 (diff) | |
download | op-kernel-dev-29b31420f62277140f510b96a6356fa334029007.zip op-kernel-dev-29b31420f62277140f510b96a6356fa334029007.tar.gz |
keucr: migrate printk to dev_dbg/info/warn/err
as per suggestion of checkpatch.pl; this resolves warnings like "Prefer
netdev_info .. then dev_info .. to printk".
Changed signature of function usb_stor_print_cmd in init.c to enable
usage of dev_err
Signed-off-by: Laura Lawniczak <laura.lawniczak@googlemail.com>
Signed-off-by: Johannes Schilling <of82ecuq@cip.cs.fau.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/keucr/transport.c')
-rw-r--r-- | drivers/staging/keucr/transport.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/keucr/transport.c b/drivers/staging/keucr/transport.c index ab1eccd..1de1115 100644 --- a/drivers/staging/keucr/transport.c +++ b/drivers/staging/keucr/transport.c @@ -303,7 +303,7 @@ void usb_stor_invoke_transport(struct scsi_cmnd *srb, struct us_data *us) int result; /* pr_info("transport --- usb_stor_invoke_transport\n"); */ - usb_stor_print_cmd(srb); + usb_stor_print_cmd(us, srb); /* send the command to the transport layer */ scsi_set_resid(srb, 0); result = us->transport(srb, us); /* usb_stor_Bulk_transport; */ @@ -429,7 +429,7 @@ void ENE_stor_invoke_transport(struct scsi_cmnd *srb, struct us_data *us) int result = 0; /* pr_info("transport --- ENE_stor_invoke_transport\n"); */ - usb_stor_print_cmd(srb); + usb_stor_print_cmd(us, srb); /* send the command to the transport layer */ scsi_set_resid(srb, 0); if (!(us->SM_Status.Ready)) |