lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Mon, 18 Sep 2006 03:37:24 +0200
From:	Arnd Bergmann <arnd@...db.de>
To:	David Woodhouse <dwmw2@...radead.org>
Cc:	linux-arch@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [patch 7/8] annotate if_* header for make headers_check

stop headers_check from warning about include/linux/if_*.h

Signed-off-by: Arnd Bermann <arnd@...db.de>

diff --git a/include/linux/if_fc.h b/include/linux/if_fc.h
index 376a34e..6ed7f1b 100644
Index: linux-cg/include/linux/if_fc.h
===================================================================
--- linux-cg.orig/include/linux/if_fc.h	2006-09-18 03:16:11.000000000 +0200
+++ linux-cg/include/linux/if_fc.h	2006-09-18 03:16:27.000000000 +0200
@@ -20,6 +20,7 @@
 #ifndef _LINUX_IF_FC_H
 #define _LINUX_IF_FC_H
 
+/* @headercheck: -include linux/types.h @ */
 
 #define FC_ALEN	6		/* Octets in one ethernet addr	 */
 #define FC_HLEN   (sizeof(struct fch_hdr)+sizeof(struct fcllc))
Index: linux-cg/include/linux/if_fddi.h
===================================================================
--- linux-cg.orig/include/linux/if_fddi.h	2006-09-18 03:16:11.000000000 +0200
+++ linux-cg/include/linux/if_fddi.h	2006-09-18 03:16:27.000000000 +0200
@@ -24,6 +24,8 @@
 #ifndef _LINUX_IF_FDDI_H
 #define _LINUX_IF_FDDI_H
 
+/* @headercheck: -include linux/types.h @ */
+
 /*
  *  Define max and min legal sizes.  The frame sizes do not include
  *  4 byte FCS/CRC (frame check sequence).
Index: linux-cg/include/linux/if_ppp.h
===================================================================
--- linux-cg.orig/include/linux/if_ppp.h	2006-09-18 03:16:11.000000000 +0200
+++ linux-cg/include/linux/if_ppp.h	2006-09-18 03:16:27.000000000 +0200
@@ -35,6 +35,8 @@
 #ifndef _IF_PPP_H_
 #define _IF_PPP_H_
 
+/* @headercheck: -include linux/ppp_defs.h @ */
+/* @headercheck: -include linux/if.h @ */
 #include <linux/compiler.h>
 
 /*
Index: linux-cg/include/linux/if_pppox.h
===================================================================
--- linux-cg.orig/include/linux/if_pppox.h	2006-09-18 03:16:11.000000000 +0200
+++ linux-cg/include/linux/if_pppox.h	2006-09-18 03:16:27.000000000 +0200
@@ -20,6 +20,9 @@
 #include <asm/types.h>
 #include <asm/byteorder.h>
 
+/* @headercheck: -include linux/if_ether.h @ */
+/* @headercheck: -include linux/if.h @ */
+
 #ifdef  __KERNEL__
 #include <linux/if_ether.h>
 #include <linux/if.h>
Index: linux-cg/include/linux/if_shaper.h
===================================================================
--- linux-cg.orig/include/linux/if_shaper.h	2006-09-18 03:16:11.000000000 +0200
+++ linux-cg/include/linux/if_shaper.h	2006-09-18 03:16:27.000000000 +0200
@@ -1,6 +1,8 @@
 #ifndef __LINUX_SHAPER_H
 #define __LINUX_SHAPER_H
 
+/* @headercheck: -include linux/types.h @ */
+
 #ifdef __KERNEL__
 
 #define SHAPER_QLEN	10
Index: linux-cg/include/linux/if_strip.h
===================================================================
--- linux-cg.orig/include/linux/if_strip.h	2006-09-18 03:16:11.000000000 +0200
+++ linux-cg/include/linux/if_strip.h	2006-09-18 03:16:27.000000000 +0200
@@ -18,6 +18,8 @@
 #ifndef __LINUX_STRIP_H
 #define __LINUX_STRIP_H
 
+/* @headercheck: -include linux/types.h @ */
+
 typedef struct {
     __u8 c[6];
 } MetricomAddress;
Index: linux-cg/include/linux/if_tunnel.h
===================================================================
--- linux-cg.orig/include/linux/if_tunnel.h	2006-09-18 03:16:11.000000000 +0200
+++ linux-cg/include/linux/if_tunnel.h	2006-09-18 03:16:27.000000000 +0200
@@ -1,6 +1,9 @@
 #ifndef _IF_TUNNEL_H_
 #define _IF_TUNNEL_H_
 
+/* @headercheck: -include linux/if.h @ */
+/* @headercheck: -include linux/ip.h @ */
+
 #define SIOCGETTUNNEL   (SIOCDEVPRIVATE + 0)
 #define SIOCADDTUNNEL   (SIOCDEVPRIVATE + 1)
 #define SIOCDELTUNNEL   (SIOCDEVPRIVATE + 2)

--

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ