Re: [PATCH 1/2] scsi: lpfc: avoid an unused function warning

2017-08-25 Thread Martin K. Petersen
Arnd, > The only reference to lpfc_nvmet_replenish_context() is inside of an > #ifdef, leading to a harmless warning when CONFIG_NVME_TARGET_FC is > disabled: Applied to 4.14/scsi-queue. Thanks! -- Martin K. Petersen Oracle Linux Engineering

[PATCH 1/2] scsi: lpfc: avoid an unused function warning

2017-08-24 Thread Arnd Bergmann
The only reference to lpfc_nvmet_replenish_context() is inside of an #ifdef, leading to a harmless warning when CONFIG_NVME_TARGET_FC is disabled: drivers/scsi/lpfc/lpfc_nvmet.c:1457:1: error: 'lpfc_nvmet_replenish_context' defined but not used [-Werror=unused-function] This replaces the preproc