Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1847298pxb; Sat, 27 Feb 2021 02:02:38 -0800 (PST) X-Google-Smtp-Source: ABdhPJxePs6uzjGyX+1cwpOBcWTt5FzO7hH0K0jwQmOG9s2G1eZjAAWNM1Xe4rsCnKwkcUCFfnyf X-Received: by 2002:a17:906:3a13:: with SMTP id z19mr7581525eje.317.1614420158249; Sat, 27 Feb 2021 02:02:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614420158; cv=none; d=google.com; s=arc-20160816; b=LX8YHxQCt1g5B6IxyHx+RHHDKYQbkpiWSILRtYBDlbpsFm6FDjrkbddRghDpBj/w5o bekRSL2gOnAUIJ7ZrpC2OAAxHNW1Te+t0C0xhWg2vV62blIFpgCbOnBmPUtmrmn1EUXP 9D9bIqZlP26Bih+jWyj6BCRVZ7TqhRE1JaowxE18d5UFi/uLzUMiJW2b9VwI81VYyV+1 S6V6Ltt9SWkmwLigqOAhMmMrRgEE+6bf3Ptpz1m/RgLt5+NahHfsY0BnejGsTeZwovBx 84EyVYaG3pCR9vXVtQtwJYXWAfUbAJENd5mzFMF4JKtEx9RPFotbUOv2hLdvVfxVvrC6 MSXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=vfEVIbGR64/JeOJcgA8yHKmU2SuRSfWmsYDnf9PtGws=; b=kZ/etYtGjWrvxh7MCFPws/Yw3d0BasyR6IfTOxZyZ6UylbTkzVVQjZX2pWyCqXUrU4 gmWLazE41oNT4wLCD7BrYp8Bqz7dLJdBAADmNN3tXufq3z2qYT4e5LQqxACTnQmoxRfa g7iSWwvjW1UzWKUDFYamUWDKv5lqfh7gQaH+ooHLsfn3iqQu41DK5F+A0HkSgExpWhbU v07DQ/4BeCo4+oaj+Acv4zZibjgK48bxBnQZ4/6rdself0hkcqjRKs+eiyXAXea6srju d7QoQBp1OZoyVG3a1a+eDbOdhN4ZQ6f9RyZwF7RNms86Zp1wiwGBE3PIWI/NiaNR29So o9Ng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=ZW2WyK8L; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g12si6761121ejd.256.2021.02.27.02.02.15; Sat, 27 Feb 2021 02:02:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=ZW2WyK8L; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230014AbhB0J7s (ORCPT + 99 others); Sat, 27 Feb 2021 04:59:48 -0500 Received: from mail.kernel.org ([198.145.29.99]:58334 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229795AbhB0J7q (ORCPT ); Sat, 27 Feb 2021 04:59:46 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 173BB64EC4; Sat, 27 Feb 2021 09:59:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1614419946; bh=z0l6Z80ab/fnbuWyyLHfc8ddd7Gy7qqdVmxMdvN1IGg=; h=From:To:Cc:Subject:Date:From; b=ZW2WyK8Lb0414PJGrmgaEJk4DFV5+qSCpJJKqesMlzLYoQO2KSiS1/VwSMyYAp8Ao QdMZzTYNqv5pTlPojMlSUzdkblhZenOdhOvjhA+nB719T7R0nKon/PGHjgzibNQUNI LbLf86AQ6pJGxnT2KvQPY6z5v1YDpxO//0DWGIWw= From: Greg Kroah-Hartman To: jesse.brandeburg@intel.com, anthony.l.nguyen@intel.com Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Greg Kroah-Hartman , "David S. Miller" , Jakub Kicinski , intel-wired-lan@lists.osuosl.org Subject: [PATCH] e1000e: use proper #include guard name in hw.h Date: Sat, 27 Feb 2021 10:58:58 +0100 Message-Id: <20210227095858.604463-1-gregkh@linuxfoundation.org> X-Mailer: git-send-email 2.30.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The include guard for the e1000e and e1000 hw.h files are the same, so add the proper "E" term to the hw.h file for the e1000e driver. This resolves some static analyzer warnings, like the one found by the "lgtm.com" tool. Cc: Jesse Brandeburg Cc: Tony Nguyen Cc: "David S. Miller" Cc: Jakub Kicinski Cc: intel-wired-lan@lists.osuosl.org Signed-off-by: Greg Kroah-Hartman --- drivers/net/ethernet/intel/e1000e/hw.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/intel/e1000e/hw.h b/drivers/net/ethernet/intel/e1000e/hw.h index 69a2329ea463..f7954cadd979 100644 --- a/drivers/net/ethernet/intel/e1000e/hw.h +++ b/drivers/net/ethernet/intel/e1000e/hw.h @@ -1,8 +1,8 @@ /* SPDX-License-Identifier: GPL-2.0 */ /* Copyright(c) 1999 - 2018 Intel Corporation. */ -#ifndef _E1000_HW_H_ -#define _E1000_HW_H_ +#ifndef _E1000E_HW_H_ +#define _E1000E_HW_H_ #include "regs.h" #include "defines.h" -- 2.30.1