mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
UPSTREAM: scsi: core: Declare 'scsi_scan_type' static
'scsi_scan_type' is only used in one source file. Hence declare it static. Bug: 254441685 Link: https://lore.kernel.org/r/20211129194609.3466071-3-bvanassche@acm.org Fixes:a19a93e4c6("scsi: core: pm: Rely on the device driver core for async power management") Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Bart Van Assche <bvanassche@acm.org> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com> (cherry picked from commit7cc5aad6c9) Signed-off-by: Lee Jones <joneslee@google.com> Change-Id: I47d9acce25bb23d252a8a9c47f45bb5c0a8aeff9
This commit is contained in:
committed by
Treehugger Robot
parent
f3fe2dacb0
commit
c8f988d00d
@@ -97,7 +97,7 @@ MODULE_PARM_DESC(max_luns,
|
||||
#define SCSI_SCAN_TYPE_DEFAULT "sync"
|
||||
#endif
|
||||
|
||||
char scsi_scan_type[7] = SCSI_SCAN_TYPE_DEFAULT;
|
||||
static char scsi_scan_type[7] = SCSI_SCAN_TYPE_DEFAULT;
|
||||
|
||||
module_param_string(scan, scsi_scan_type, sizeof(scsi_scan_type),
|
||||
S_IRUGO|S_IWUSR);
|
||||
|
||||
Reference in New Issue
Block a user