[PATCH v6 0/2] Staging: rts5208: Use standard debug features

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Use standard debug features instead of relying on the custom
configuration option CONFIG_RTS5208_DEBUG and a series of home grown
macros.
This new version contains the remaining two chunks of the v5 patchset:
the first two chunks have already been merged.

Changes in v6:
* Use print_hex_dump_bytes in place of dev_dbg to dump buffer potentially
  larger than 64 bytes.

Changes in v5:
* remove useless prints used just to mark when entering a function
  (we should prefer ftrace for that)

Changes in v4:
* use dev_dbg instead of pr_debug
* use dev_dbg with %*ph modifier instead of print_hex_dump_bytes

Changes in v3:
* defined rtsx_hex_dump as a static inline function to avoid checkpatch errors

Changes in v2:
* defined rtsx_hex_dump macro to produce output only if DEBUG is defined

Fabio Falzoi (2):
  Staging: rts5208: Use dev_dbg and print_hex_dump_bytes to dump memory
  Staging: rts5208: Remove CONFIG_RTS5208_DEBUG option

 drivers/staging/rts5208/Kconfig     |  7 -------
 drivers/staging/rts5208/ms.c        |  5 +++--
 drivers/staging/rts5208/rtsx_chip.c |  6 ++++--
 drivers/staging/rts5208/rtsx_scsi.c |  7 +++----
 drivers/staging/rts5208/sd.c        | 11 ++++-------
 drivers/staging/rts5208/trace.h     |  8 --------
 6 files changed, 14 insertions(+), 30 deletions(-)

-- 
2.0.0

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel




[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux