Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1297510
| Path | csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Sudip Mukherjee <sudipm.mukherjee@gmail.com> |
| Newsgroups | linux.kernel |
| Subject | [PATCH v2] PCI/AER: include header file |
| Date | Wed, 23 Dec 2015 16:40:01 +0100 |
| Message-ID | <qITG9-2Yd-3@gated-at.bofh.it> (permalink) |
| X-Original-To | Bjorn Helgaas <bhelgaas@google.com>, Jens Axboe <axboe@fb.com>, Keith Busch <keith.busch@intel.com> |
| Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=+ZrB3H/7yTgOKHJDCvF9hYeKKRxFX/IXyxYdU7kmBmw=; b=GR00sZSnf2RLLluZvzaQHz/r5fTa0N7YDPeWTmhTPjgZcaoSyh6DwVweQBnY/CLd8a CE2U9s9Ghkh6458uIxzQFKKnbz6QM+ZmSX3iVR9UCWhvmlqunS2xHwDTBt7VTKRxqO1/ kUnEYs5iH89D5zfH3rd3qS1ZkwL4/CQfC8w+wpSKovHfBsa+6TEFwpseh2mL82hTEVje bH5TV7zyJH3BlNStKfbEKEbsf1Tr1UIcA9ztcK3xEmR4U/tddqBvzuQYRYkX6cPh2tjA SJHqKNltuucCrrOAtIR4/j6EPRgqyf4Pc7NKigZDSjktSEFhS9ZrajcOlwb5ZXXeixIa CUgw== |
| X-Received | by 10.98.73.152 with SMTP id r24mr44150949pfi.142.1450884933552; Wed, 23 Dec 2015 07:35:33 -0800 (PST) |
| X-Mailer | git-send-email 1.9.1 |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 45 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | linux-kernel@vger.kernel.org, Matthew Wilcox <willy@linux.intel.com>, linux-nvme@lists.infradead.org, Sudip Mukherjee <sudipm.mukherjee@gmail.com> |
| X-Original-Date | Wed, 23 Dec 2015 21:05:26 +0530 |
| X-Original-Message-ID | <1450884926-15014-1-git-send-email-sudipm.mukherjee@gmail.com> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1297510 |
Show key headers only | View raw
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>
---
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 <linux/errno.h>
#include <linux/types.h>
#define AER_NONFATAL 0
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
[PATCH v2] PCI/AER: include header file Sudip Mukherjee <sudipm.mukherjee@gmail.com> - 2015-12-23 16:40 +0100
csiph-web