From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754472AbbLWPff (ORCPT ); Wed, 23 Dec 2015 10:35:35 -0500 Received: from mail-pf0-f178.google.com ([209.85.192.178]:34032 "EHLO mail-pf0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752951AbbLWPfe (ORCPT ); Wed, 23 Dec 2015 10:35:34 -0500 From: Sudip Mukherjee To: Bjorn Helgaas , Jens Axboe , Keith Busch Cc: linux-kernel@vger.kernel.org, Matthew Wilcox , linux-nvme@lists.infradead.org, Sudip Mukherjee Subject: [PATCH v2] PCI/AER: include header file Date: Wed, 23 Dec 2015 21:05:26 +0530 Message-Id: <1450884926-15014-1-git-send-email-sudipm.mukherjee@gmail.com> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Signed-off-by: Sudip Mukherjee --- v1 and its review is at: https://lkml.org/lkml/2015/12/23/226 sparc allmodconfig build is at: https://travis-ci.org/sudipm-mukherjee/parport/jobs/98451364 include/linux/aer.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/aer.h b/include/linux/aer.h index 744b997..1640493 100644 --- a/include/linux/aer.h +++ b/include/linux/aer.h @@ -7,6 +7,7 @@ #ifndef _AER_H_ #define _AER_H_ +#include #include #define AER_NONFATAL 0 -- 1.9.1