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


Groups > linux.kernel > #1488945 > unrolled thread

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

Started byChristoph Hellwig <hch@lst.de>
First post2016-09-22 16:50 +0200
Last post2016-09-22 17:10 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [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

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

FromChristoph Hellwig <hch@lst.de>
Date2016-09-22 16:50 +0200
Subject[PATCH] timekeeping.h: include the correct header for errno definitions
Message-ID<skdu1-7CL-5@gated-at.bofh.it>
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

[toc] | [next] | [standalone]


#1488971 — [tip:timers/core] timekeeping: Include the correct header for errno definitions

Fromtip-bot for Christoph Hellwig <tipbot@zytor.com>
Date2016-09-22 17:10 +0200
Subject[tip:timers/core] timekeeping: Include the correct header for errno definitions
Message-ID<skdNn-7ZV-27@gated-at.bofh.it>
In reply to#1488945
Commit-ID:  b536fd587044af02183b3c02690431b93154f0fa
Gitweb:     http://git.kernel.org/tip/b536fd587044af02183b3c02690431b93154f0fa
Author:     Christoph Hellwig <hch@lst.de>
AuthorDate: Thu, 22 Sep 2016 07:48:17 -0700
Committer:  Thomas Gleixner <tglx@linutronix.de>
CommitDate: Thu, 22 Sep 2016 17:02:55 +0200

timekeeping: Include the correct header for errno definitions

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>
Cc: john.stultz@linaro.org
Link: http://lkml.kernel.org/r/1474555697-8206-1-git-send-email-hch@lst.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.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 */
 

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web