[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210226143032.00005184@intel.com>
Date: Fri, 26 Feb 2021 14:30:32 -0800
From: Jesse Brandeburg <jesse.brandeburg@...el.com>
To: Tom Seewald <tseewald@...il.com>
Cc: netdev@...r.kernel.org, intel-wired-lan@...ts.osuosl.org,
Tony Nguyen <anthony.l.nguyen@...el.com>,
"David S. Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>,
Jeff Garzik <jeff@...zik.org>,
Auke Kok <auke-jan.h.kok@...el.com>
Subject: Re: [PATCH net 2/2] igb: Fix duplicate include guard
Tom Seewald wrote:
> The include guard "_E1000_HW_H_" is used by two separate header files in
> two different drivers (e1000/e1000_hw.h and igb/e1000_hw.h). Using the
> same include guard macro in more than one header file may cause
> unexpected behavior from the compiler. Fix this by renaming the
> duplicate guard in the igb driver.
>
> Fixes: 9d5c824399de ("igb: PCI-Express 82575 Gigabit Ethernet driver")
> Signed-off-by: Tom Seewald <tseewald@...il.com>
Change is simple and makes sense.
Reviewed-by: Jesse Brandeburg <jesse.brandeburg@...el.com>
Powered by blists - more mailing lists