[Intel-wired-lan] [PATCH net 2/2] igb: Fix duplicate include guard

Jesse Brandeburg jesse.brandeburg at intel.com
Fri Feb 26 22:30:32 UTC 2021


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 at gmail.com>

Change is simple and makes sense.

Reviewed-by: Jesse Brandeburg <jesse.brandeburg at intel.com>


More information about the Intel-wired-lan mailing list