linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Improve code readability in rtl8723bs module
@ 2025-04-09 10:04 Erick Karanja
  2025-04-09 10:04 ` [PATCH v2 1/2] staging: rtl8723bs: Improve code readability Erick Karanja
  2025-04-09 10:04 ` [PATCH v2 2/2] staging: rtl8723bs: Initializing variables at declaration Erick Karanja
  0 siblings, 2 replies; 10+ messages in thread
From: Erick Karanja @ 2025-04-09 10:04 UTC (permalink / raw)
  To: gregkh, outreachy
  Cc: karanja99erick, philipp.g.hortmann, linux-staging, linux-kernel

The patchset aims at improving code readability by initializing
variables at declaration.Key consideration is made to ensure that the
code is clean, maintainable and easy to debug.

changes since v1:
Avoid mixing pre-initialized variables with not-initialized variables
and handle an edge case where initialization is made to function call.

Erick Karanja (2):
  staging: rtl8723bs: Improve code readability
  staging: rtl8723bs: Initializing variables at declaration

 .../staging/rtl8723bs/hal/rtl8723b_hal_init.c | 84 ++++++-------------
 .../staging/rtl8723bs/hal/rtl8723bs_xmit.c    | 39 +++------
 2 files changed, 36 insertions(+), 87 deletions(-)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2025-04-10  5:39 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-09 10:04 [PATCH v2 0/2] Improve code readability in rtl8723bs module Erick Karanja
2025-04-09 10:04 ` [PATCH v2 1/2] staging: rtl8723bs: Improve code readability Erick Karanja
2025-04-09 11:04   ` Julia Lawall
2025-04-09 11:11     ` Dan Carpenter
2025-04-09 11:22       ` Erick Karanja
2025-04-09 11:32     ` Erick Karanja
2025-04-09 15:39       ` Julia Lawall
2025-04-09 10:04 ` [PATCH v2 2/2] staging: rtl8723bs: Initializing variables at declaration Erick Karanja
2025-04-09 15:41   ` Julia Lawall
2025-04-10  5:39     ` Erick Karanja

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).