diff options
author | Roland Dreier <roland@purestorage.com> | 2018-10-20 09:45:16 -0700 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-10-23 21:19:20 -0400 |
commit | 6110f37fb33d54781e1fa841922c466c8b9005cd (patch) | |
tree | bb93b3cac5a4effc37911f0097b1a76b4c0a243e /drivers/scsi/mvsas | |
parent | 7081fb629e434c13f126f191c67ff0c9939d9ef5 (diff) |
scsi: target: Don't request modules that aren't even built
If, for example, I don't enable CONFIG_TCM_PSCSI, then every time I load
the target subsystem, I get an annoying
Unable to load target_core_pscsi
kernel log message. Instead let's only request_module() on things if
that code is enabled.
Signed-off-by: Roland Dreier <roland@purestorage.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/mvsas')
0 files changed, 0 insertions, 0 deletions