usb-storage: remove single-use define for debugging
USB_STORAGE was defined as "usb-storage: " and used in a single location as argument to printk. In order to be able to use the name 'USB_STORAGE', drop the definition and use the string directly for the printk call. Signed-off-by: Matthias Maennich <maennich@google.com> Link: https://lore.kernel.org/r/20190813121733.52480-10-maennich@google.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:

committed by
Greg Kroah-Hartman

부모
51fa228c8e
커밋
115f3bad1a
@@ -379,7 +379,7 @@ static int queuecommand_lck(struct scsi_cmnd *srb,
|
||||
|
||||
/* check for state-transition errors */
|
||||
if (us->srb != NULL) {
|
||||
printk(KERN_ERR USB_STORAGE "Error in %s: us->srb = %p\n",
|
||||
printk(KERN_ERR "usb-storage: Error in %s: us->srb = %p\n",
|
||||
__func__, us->srb);
|
||||
return SCSI_MLQUEUE_HOST_BUSY;
|
||||
}
|
||||
|
Reference in New Issue
Block a user