From patchwork Fri Aug 22 12:26:54 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rasmus Villemoes X-Patchwork-Id: 4763421 Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id D9778C033A for ; Fri, 22 Aug 2014 12:27:31 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 24C7A2018A for ; Fri, 22 Aug 2014 12:27:31 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1A93B201BC for ; Fri, 22 Aug 2014 12:27:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756166AbaHVM1I (ORCPT ); Fri, 22 Aug 2014 08:27:08 -0400 Received: from mail-lb0-f171.google.com ([209.85.217.171]:64830 "EHLO mail-lb0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753381AbaHVM1D (ORCPT ); Fri, 22 Aug 2014 08:27:03 -0400 Received: by mail-lb0-f171.google.com with SMTP id l4so9383572lbv.2 for ; Fri, 22 Aug 2014 05:27:01 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=+BZ9NMmnHr9XxkI0BCxADD+RHfnr6+Ms1I5iU7q60zI=; b=SQSX3V/zbq8rWZPv5mrPSrZxUdaGbMwAhy6ff6LPK34jKK1iKG3aKVpWCS/Hxyk66p rry4cIB9okx4yJeMQ9seDhyDxV+5bRWCxpBoCrDYsZx5G+s4jOoTOcNxNmvhrHAl4Fqh ZxQcXpKpVB6zJzbm+6LvGz/KAGw5NLF1WJAePR565G+Jy6sK7BRb/zWZ9Nqa1E3C/OSo 64xedTOonqw5E81V4tWsqqTdX9i6ibaRyf0Z5tGdnR6y23hv0hT/GcWV/KgiXaA2ERn4 gsbjubewj2U/U9ntFt5EowX7T/2arqwcOo/n4IGl80ldzymAeXK7ZbsvXe+bd0EeXhdu 2I5w== X-Gm-Message-State: ALoCoQkfnX8nvgpUKcbMbvFdHTBT1QftwM/yQtw8qlnD5MNFQmUXh8pfno3kPxd+Mea1IFedBbCY X-Received: by 10.112.52.130 with SMTP id t2mr4253052lbo.61.1408710421189; Fri, 22 Aug 2014 05:27:01 -0700 (PDT) Received: from spencer.imf.au.dk ([130.225.20.51]) by mx.google.com with ESMTPSA id p4sm18130143lap.0.2014.08.22.05.27.00 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 22 Aug 2014 05:27:00 -0700 (PDT) From: Rasmus Villemoes To: "John W. Linville" Cc: linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Rasmus Villemoes Subject: [PATCH] drivers: net: wireless: Add include guards Date: Fri, 22 Aug 2014 14:26:54 +0200 Message-Id: <1408710414-13810-1-git-send-email-linux@rasmusvillemoes.dk> X-Mailer: git-send-email 1.7.10.4 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The files ray_cs.h and rayctl.h both contain two thirds of what appears to be an include guard using the macro name RAYLINK_H (both lack the #define). Since RAYLINK_H is not defined anywhere, the guards using different macro names. Signed-off-by: Rasmus Villemoes --- drivers/net/wireless/ray_cs.h | 5 +++-- drivers/net/wireless/rayctl.h | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/drivers/net/wireless/ray_cs.h b/drivers/net/wireless/ray_cs.h index e79848f..524c2f0 100644 --- a/drivers/net/wireless/ray_cs.h +++ b/drivers/net/wireless/ray_cs.h @@ -3,7 +3,8 @@ Written by Corey Thomas */ -#ifndef RAYLINK_H +#ifndef _RAY_CS_H_ +#define _RAY_CS_H_ struct beacon_rx { struct mac_header mac; @@ -69,4 +70,4 @@ typedef struct ray_dev_t { } ray_dev_t; /*****************************************************************************/ -#endif /* RAYLINK_H */ +#endif /* _RAY_CS_H_ */ diff --git a/drivers/net/wireless/rayctl.h b/drivers/net/wireless/rayctl.h index 3c3b98b..b21ed64 100644 --- a/drivers/net/wireless/rayctl.h +++ b/drivers/net/wireless/rayctl.h @@ -1,4 +1,5 @@ -#ifndef RAYLINK_H +#ifndef _RAYCTL_H_ +#define _RAYCTL_H_ typedef unsigned char UCHAR; @@ -729,4 +730,4 @@ typedef struct snaphdr_t #define RAY_IPX_TYPE 0x8137 #define APPLEARP_TYPE 0x80f3 /*****************************************************************************/ -#endif /* #ifndef RAYLINK_H */ +#endif /* _RAYCTL_H_ */