From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755050AbbLWPih (ORCPT ); Wed, 23 Dec 2015 10:38:37 -0500 Received: from mx0b-00082601.pphosted.com ([67.231.153.30]:43238 "EHLO mx0b-00082601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753239AbbLWPif (ORCPT ); Wed, 23 Dec 2015 10:38:35 -0500 Subject: Re: [PATCH v2] PCI/AER: include header file To: Sudip Mukherjee , Bjorn Helgaas , Keith Busch References: <1450884926-15014-1-git-send-email-sudipm.mukherjee@gmail.com> CC: , Matthew Wilcox , From: Jens Axboe Message-ID: <567ABFD7.3030705@fb.com> Date: Wed, 23 Dec 2015 08:37:59 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: <1450884926-15014-1-git-send-email-sudipm.mukherjee@gmail.com> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [192.168.54.13] X-Proofpoint-Spam-Reason: safe X-FB-Internal: Safe X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2015-12-23_11:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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