public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] staging: vt6655: Replace macro VNSvInPortB with ioread8()
@ 2022-04-16  8:00 Philipp Hortmann
  2022-04-16  8:00 ` [PATCH 1/2] staging: vt6655: Replace MACvGPIOIn with VNSvInPortB Philipp Hortmann
  2022-04-16  8:00 ` [PATCH 2/2] staging: vt6655: Replace VNSvInPortB with ioread8 Philipp Hortmann
  0 siblings, 2 replies; 4+ messages in thread
From: Philipp Hortmann @ 2022-04-16  8:00 UTC (permalink / raw)
  To: Forest Bond, Greg Kroah-Hartman, linux-staging, linux-kernel

Replace macro VNSvInPortB with ioread8. Avoid cast of the return
value is possible with one exception.
The name of macro and the arguments use CamelCase which
is not accepted by checkpatch.pl

The one casting exception could be removed by changing
bb_read_embedded. Instead of having a unused return value bool
the return value could be an unsigned char.

Since there are more than one checkpatch issue per line,
more steps are rquired to fix all issues.

This patch series is new but the second patch is already in V4.

Tested with vt6655 on mini PCI Module
Transferred this patch over wlan connection of vt6655

Philipp Hortmann (2):
  staging: vt6655: Replace MACvGPIOIn with VNSvInPortB
  staging: vt6655: Replace VNSvInPortB with ioread8

 drivers/staging/vt6655/baseband.c    |  6 +++---
 drivers/staging/vt6655/card.c        |  2 +-
 drivers/staging/vt6655/device_main.c |  6 +++---
 drivers/staging/vt6655/mac.h         | 27 +++++++++------------------
 drivers/staging/vt6655/srom.c        |  6 +++---
 drivers/staging/vt6655/upc.h         |  3 ---
 6 files changed, 19 insertions(+), 31 deletions(-)

-- 
2.25.1


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

end of thread, other threads:[~2022-04-19  8:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-16  8:00 [PATCH 0/2] staging: vt6655: Replace macro VNSvInPortB with ioread8() Philipp Hortmann
2022-04-16  8:00 ` [PATCH 1/2] staging: vt6655: Replace MACvGPIOIn with VNSvInPortB Philipp Hortmann
2022-04-16  8:00 ` [PATCH 2/2] staging: vt6655: Replace VNSvInPortB with ioread8 Philipp Hortmann
2022-04-19  8:57   ` David Laight

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox