e1000: suppress misleading indentation warning
The register read/write mphy functions have misleading whitespace around the `locked` check. This cleanup merely preserves the existing functionality and suppresses future gcc versions' "misleading indentation" warning. Suggested-by: Panu Matilainen <pmatilai@redhat.com> Signed-off-by: Aaron Conole <aconole@redhat.com> Acked-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
This commit is contained in:
parent
29815f5a23
commit
366113dbfb
@ -54,6 +54,9 @@ else
|
||||
#
|
||||
CFLAGS_BASE_DRIVER = -Wno-uninitialized -Wno-unused-parameter
|
||||
CFLAGS_BASE_DRIVER += -Wno-unused-variable
|
||||
ifeq ($(shell test $(GCC_VERSION) -ge 60 && echo 1), 1)
|
||||
CFLAGS_BASE_DRIVER += -Wno-misleading-indentation
|
||||
endif
|
||||
endif
|
||||
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user