Re: [PATCH 4/6] scsi: qedf: fix LTO-enabled build

2018-02-09 Thread Martin K. Petersen
Arnd, > The prototype for qedf_dbg_fops/qedf_debugfs_ops doesn't match the > definition, which causes the final link to fail with link-time > optimizations: Applied to 4.17/scsi-queue. Thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH 4/6] scsi: qedf: fix LTO-enabled build

2018-02-07 Thread Chad Dupuis
On Fri, 2 Feb 2018, 8:12am, Arnd Bergmann wrote: > The prototype for qedf_dbg_fops/qedf_debugfs_ops doesn't match the definition, > which causes the final link to fail with link-time optimizations: > > drivers/scsi/qedf/qedf_main.c:34: error: type of 'qedf_dbg_fops' does not > match original