Messages in this thread | | | Date | Wed, 23 Dec 2015 09:35:59 -0500 | From | Matthew Wilcox <> | Subject | Re: [PATCH] nvme: arrange header files |
| |
On Wed, Dec 23, 2015 at 07:07:07PM +0530, Sudip Mukherjee wrote: > We are having build failure with sparc allmodconfig with the error: > drivers/nvme/host/pci.c:15:0: > include/linux/aer.h: In function 'pci_enable_pcie_error_reporting': > include/linux/aer.h:49:10: error: 'EINVAL' undeclared (first use in this function) > > The file aer.h is using the error values but they are defined in > errno.h. So if we keep aer.h at the top of header file then we do not > have any definition of EINVAL.
aer.h should be including errno.h.
| |