All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/4] staging: vt6655: Macro with braces issue changed to inline function
@ 2023-02-07  8:40 ` Guru Mehar Rachaputi
  0 siblings, 0 replies; 6+ messages in thread
From: Guru Mehar Rachaputi @ 2023-02-07  7:14 UTC (permalink / raw)
  To: Forest Bond, Greg Kroah-Hartman, linux-staging, linux-kernel


This patch is to fix checkpatch warning: "Macro argument 'iobase' may be better
as '(iobase)' to avoid precedence issues" changed to inline function. In
relation to this, names of the callers of macro are also modified to call
this function.


Changes in v4:
	- Modified commit message to be clear

Changes in v3:
	1. Whitespace error from checkpatch fixed
	2. Should be applied together with changes in v2 for testing

Changes in v2:
	- Macros with one statement that is to call 'iowrite8' function changed
	to inline function as reviewed by gregkh@linuxfoundation.org.
	In relation to this, names of the callers of macro are also modified
	to call this function.


Guru Mehar Rachaputi (4):
  staging: vt6655: Add braces to macro parameter 'iobase'
  staging: vt6655: Macro with braces issue change to inline function
  staging: vt6655: Macro with braces issue change to inline function
  staging: vt6655: Macro with braces issue changed to inline function

 drivers/staging/vt6655/card.c        |  4 ++--
 drivers/staging/vt6655/channel.c     |  4 ++--
 drivers/staging/vt6655/device_main.c | 12 ++++++------
 drivers/staging/vt6655/mac.c         |  8 ++++----
 drivers/staging/vt6655/mac.h         | 12 +++++++++---
 5 files changed, 23 insertions(+), 17 deletions(-)

-- 
2.34.1


-- 
Thanks & Regards,
Guru

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

end of thread, other threads:[~2023-02-07  9:36 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-07  7:14 [PATCH v2 0/4] staging: vt6655: Macro with braces issue changed to inline function Guru Mehar Rachaputi
2023-02-07  8:40 ` Guru Mehar Rachaputi
2023-02-07  7:40 ` Greg Kroah-Hartman
2023-02-07  8:42   ` Guru Mehar Rachaputi
2023-02-07  9:05 ` Greg Kroah-Hartman
2023-02-07  9:36   ` Guru Mehar Rachaputi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.