Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1488945

[PATCH] timekeeping.h: include the correct header for errno definitions

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Christoph Hellwig <hch@lst.de>
Newsgroups linux.kernel
Subject [PATCH] timekeeping.h: include the correct header for errno definitions
Date Thu, 22 Sep 2016 16:50:01 +0200
Message-ID <skdu1-7CL-5@gated-at.bofh.it> (permalink)
X-Mailer git-send-email 2.1.4
X-Srs-Rewrite SMTP reverse-path rewritten from <hch@infradead.org> by bombadil.infradead.org. See http://www.infradead.org/rpr.html
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 23
Organization linux.* mail to news gateway
X-Original-Cc linux-kernel@vger.kernel.org
X-Original-Date Thu, 22 Sep 2016 07:48:17 -0700
X-Original-Message-ID <1474555697-8206-1-git-send-email-hch@lst.de>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1488945

Show key headers only | View raw


asm-generic headers are only defaults for architectures.  We need to get
the proper defintion, which goes through <linux/errno.h> and <asm/errno.h>.

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 include/linux/timekeeping.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/timekeeping.h b/include/linux/timekeeping.h
index 816b754..09168c5 100644
--- a/include/linux/timekeeping.h
+++ b/include/linux/timekeeping.h
@@ -1,7 +1,7 @@
 #ifndef _LINUX_TIMEKEEPING_H
 #define _LINUX_TIMEKEEPING_H
 
-#include <asm-generic/errno-base.h>
+#include <linux/errno.h>
 
 /* Included from linux/ktime.h */
 
-- 
2.1.4

Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

[PATCH] timekeeping.h: include the correct header for errno definitions Christoph Hellwig <hch@lst.de> - 2016-09-22 16:50 +0200
  [tip:timers/core] timekeeping: Include the correct header for errno  definitions tip-bot for Christoph Hellwig <tipbot@zytor.com> - 2016-09-22 17:10 +0200

csiph-web