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


Groups > linux.kernel > #1573823

[PATCH 2/2] staging: vchip_shim: Remove unneeded stddef.h include

From Stafford Horne <shorne@gmail.com>
Newsgroups linux.kernel
Subject [PATCH 2/2] staging: vchip_shim: Remove unneeded stddef.h include
Date 2017-02-05 08:10 +0100
Message-ID <t7p7r-46L-7@gated-at.bofh.it> (permalink)
References <t7p7r-46L-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Building on openrisc musl toolchain this causes the allyesconfig build
to fail.

  drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c:42:20:
  fatal error: stddef.h: No such file or directory

Removing this causes no issues with the build.

Signed-off-by: Stafford Horne <shorne@gmail.com>
---
 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c
index d977139..70c530c 100644
--- a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c
+++ b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c
@@ -39,8 +39,6 @@
 
 #include "vchiq_util.h"
 
-#include <stddef.h>
-
 #define vchiq_status_to_vchi(status) ((int32_t)status)
 
 typedef struct {
-- 
2.9.3

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


Thread

[PATCH 0/2] Remove unneeded stddef.h includes Stafford Horne <shorne@gmail.com> - 2017-02-05 08:10 +0100
  [PATCH 2/2] staging: vchip_shim: Remove unneeded stddef.h include Stafford Horne <shorne@gmail.com> - 2017-02-05 08:10 +0100
  [PATCH 1/2] libceph: Remove unneeded stddef.h include Stafford Horne <shorne@gmail.com> - 2017-02-05 08:10 +0100
    Re: [PATCH 1/2] libceph: Remove unneeded stddef.h include Ilya Dryomov <idryomov@gmail.com> - 2017-02-06 11:20 +0100
    RE: [PATCH 1/2] libceph: Remove unneeded stddef.h include David Laight <David.Laight@ACULAB.COM> - 2017-02-06 17:20 +0100
      Re: [PATCH 1/2] libceph: Remove unneeded stddef.h include Stafford Horne <shorne@gmail.com> - 2017-02-07 03:50 +0100

csiph-web