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


Groups > linux.kernel > #1516284

Re: [PATCH] ARM: cache-uniphier: include <linux/errno.h> instead of <linux/types.h>

From Russell King - ARM Linux <linux@armlinux.org.uk>
Newsgroups linux.kernel
Subject Re: [PATCH] ARM: cache-uniphier: include <linux/errno.h> instead of <linux/types.h>
Date 2016-11-07 17:20 +0100
Message-ID <sAUOl-5sm-3@gated-at.bofh.it> (permalink)
References <sAUEF-5ny-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Nov 08, 2016 at 12:58:54AM +0900, Masahiro Yamada wrote:
> Nothing in this header file depends on <linux/types.h>.
> Rather, <linux/errno.h> should be included for -ENODEV.

So how do we end up with a definition for u32?

I think you need both these include files.

-- 
RMK's Patch system: http://www.armlinux.org.uk/developer/patches/
FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up
according to speedtest.net.

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


Thread

[PATCH] ARM: cache-uniphier: include <linux/errno.h> instead of <linux/types.h> Masahiro Yamada <yamada.masahiro@socionext.com> - 2016-11-07 17:10 +0100
  Re: [PATCH] ARM: cache-uniphier: include <linux/errno.h> instead of  <linux/types.h> Russell King - ARM Linux <linux@armlinux.org.uk> - 2016-11-07 17:20 +0100

csiph-web