diff options
author | Dick Kennedy <dick.kennedy@broadcom.com> | 2017-09-30 02:34:31 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-10-03 04:46:34 +0200 |
commit | 2299e4323d2bf6e0728fdc6b9e8e9704978d2dd7 (patch) | |
tree | 51b4398f8054c932aac07f4688c9e4b8135d3e0e /drivers/dma/coh901318_lli.c | |
parent | scsi: lpfc: Fix lpfc nvme host rejecting IO with Not Ready message (diff) | |
download | linux-2299e4323d2bf6e0728fdc6b9e8e9704978d2dd7.tar.xz linux-2299e4323d2bf6e0728fdc6b9e8e9704978d2dd7.zip |
scsi: lpfc: Fix warning messages when NVME_TARGET_FC not defined
Warning messages when NVME_TARGET_FC not defined on ppc builds
The lpfc_nvmet_replenish_context() function is only meaningful when NVME
target mode enabled. Surround the function body with ifdefs for target
mode enablement.
Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: James Smart <james.smart@broadcom.com>
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/dma/coh901318_lli.c')
0 files changed, 0 insertions, 0 deletions