[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20151223143559.GG2457@linux.intel.com>
Date: Wed, 23 Dec 2015 09:35:59 -0500
From: Matthew Wilcox <willy@...ux.intel.com>
To: Sudip Mukherjee <sudipm.mukherjee@...il.com>
Cc: Keith Busch <keith.busch@...el.com>, Jens Axboe <axboe@...com>,
linux-kernel@...r.kernel.org, linux-nvme@...ts.infradead.org
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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists