Messages in this thread Patch in this message | | | From | Michael Straube <> | Subject | [PATCH v2 7/8] staging: r8188eu: add missing blank line after declarations | Date | Mon, 30 Aug 2021 14:15:07 +0200 |
| |
Add a missing blank line after declarations in rtw_macaddr_cfg() to clear a checkpatch warning.
WARNING: Missing a blank line after declarations
Signed-off-by: Michael Straube <straube.linux@gmail.com> --- drivers/staging/r8188eu/core/rtw_ieee80211.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/drivers/staging/r8188eu/core/rtw_ieee80211.c b/drivers/staging/r8188eu/core/rtw_ieee80211.c index c37358be631f..f76c762ccd4b 100644 --- a/drivers/staging/r8188eu/core/rtw_ieee80211.c +++ b/drivers/staging/r8188eu/core/rtw_ieee80211.c @@ -1021,6 +1021,7 @@ u8 key_2char2num(u8 hch, u8 lch) void rtw_macaddr_cfg(u8 *mac_addr) { u8 mac[ETH_ALEN]; + if (!mac_addr) return; -- 2.33.0
| |