summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSudip Mukherjee2015-12-23 16:35:26 +0100
committerJens Axboe2015-12-23 16:37:10 +0100
commitc89e5b80245899fc51fb1d83880e2f5762fcf350 (patch)
tree0468f5e4a0d78224406d4d6c59b34e207930ad98
parentNVMe: Export namespace attributes to sysfs (diff)
downloadkernel-qcow2-linux-c89e5b80245899fc51fb1d83880e2f5762fcf350.tar.gz
kernel-qcow2-linux-c89e5b80245899fc51fb1d83880e2f5762fcf350.tar.xz
kernel-qcow2-linux-c89e5b80245899fc51fb1d83880e2f5762fcf350.zip
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>
-rw-r--r--include/linux/aer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/aer.h b/include/linux/aer.h
index 744b997d6a94..164049357e5c 100644
--- a/include/linux/aer.h
+++ b/include/linux/aer.h
@@ -7,6 +7,7 @@
#ifndef _AER_H_
#define _AER_H_
+#include <linux/errno.h>
#include <linux/types.h>
#define AER_NONFATAL 0