Re: [PATCH] scsi: qedi: fix build regression

From: Martin K. Petersen
Date: Tue Feb 27 2018 - 21:19:50 EST



Arnd,

> A bugfix I did caused a build regression in some other randconfig
> builds in a rare combination of options:
>
> In file included from drivers/scsi/qedi/qedi_fw.c:16:
> drivers/scsi/qedi/qedi_gbl.h:26:38: error: array type has incomplete element type 'struct qedi_debugfs_ops'
> extern const struct qedi_debugfs_ops qedi_debugfs_ops[];
> ^~~~~~~~~~~~~~~~
>
> This removes the useless #ifdef around the declarations in qedi_dbg.h
> to make it always build.

Applied to 4.17/scsi-queue. Thanks!

--
Martin K. Petersen Oracle Linux Engineering