PCI/AER: include header file
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Wed, 23 Dec 2015 15:35:26 +0000 (21:05 +0530)
committerJens Axboe <axboe@fb.com>
Wed, 23 Dec 2015 15:37:10 +0000 (08:37 -0700)
commitc89e5b80245899fc51fb1d83880e2f5762fcf350
tree0468f5e4a0d78224406d4d6c59b34e207930ad98
parent2b9b6e86bca7209de02754fc84acf7ab3e78734e
PCI/AER: include header file

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.

Fixes: a0a3408ee614 ("NVMe: Add pci error handlers")
Cc: Keith Busch <keith.busch@intel.com>
Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Jens Axboe <axboe@fb.com>
include/linux/aer.h