summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDang Vu Duc Hien <dvdh12707@gmail.com>2026-07-28 02:52:36 +0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-07-28 09:37:17 +0200
commitc6eb4dc5964fdf4086b73b7f0f5dc0d595fb5cf3 (patch)
tree6fe3a323168b430bec703be53d391b48b70e7ef6
parent25185078f2324d9414632f813602ea2a07f7c703 (diff)
staging: rtl8723bs: add blank line after declaration
Fix the checkpatch.pl warning: "WARNING: Missing a blank line after declarations" in drv_types.h. Add a blank line between the variable declaration and the subsequent statement in RTW_ENABLE_FUNC() to comply with the kernel coding style. Signed-off-by: Dang Vu Duc Hien <dvdh12707@gmail.com> Link: https://patch.msgid.link/20260727195236.663392-1-dvdh12707@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/rtl8723bs/include/drv_types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/rtl8723bs/include/drv_types.h b/drivers/staging/rtl8723bs/include/drv_types.h
index b2bbec7769d0..20265770ed77 100644
--- a/drivers/staging/rtl8723bs/include/drv_types.h
+++ b/drivers/staging/rtl8723bs/include/drv_types.h
@@ -389,6 +389,7 @@ struct adapter {
static inline void RTW_ENABLE_FUNC(struct adapter *padapter, int func_bit)
{
int df = atomic_read(&adapter_to_dvobj(padapter)->disable_func);
+
df &= ~(func_bit);
atomic_set(&adapter_to_dvobj(padapter)->disable_func, df);
}