[PATCH v2] PCI/AER: include header file

Jens Axboe axboe at fb.com
Wed Dec 23 07:37:59 PST 2015


On 12/23/2015 08:35 AM, 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. Include errno.h so that we have the definitions of the error
> codes.

Applied to for-4.5/nvme, thanks.

-- 
Jens Axboe




More information about the Linux-nvme mailing list