public inbox for linux-staging@lists.linux.dev
 help / color / mirror / Atom feed
* [PATCH v3 0/4] staging: vc04_services: Drop custom logging
@ 2023-12-05  8:41 Umang Jain
  2023-12-05  8:41 ` [PATCH v3 1/4] staging: vc04_services: Drop vchiq_log_error() in favour of dev_err Umang Jain
                   ` (3 more replies)
  0 siblings, 4 replies; 16+ messages in thread
From: Umang Jain @ 2023-12-05  8:41 UTC (permalink / raw)
  To: linux-staging, linux-rpi-kernel, linux-media, linux-arm-kernel
  Cc: Stefan Wahren, Greg Kroah-Hartman, Dan Carpenter, Kieran Bingham,
	Ricardo B . Marliere, Umang Jain

This series also removes the vchiq_log_* macro and makes use of dev_*()
logging helpers directly.

Patch 1/4 removes vchiq_log_error() macro
Patch 2/4 removes vchiq_log_warning() macro
Patch 3/4 removes vchiq_log_trace() macro
Patch 4/4 removes vchiq_log_debug() macro

This completes the following TODO item:

```
* Cleanup logging mechanism

The driver should probably be using the standard kernel logging mechanisms
such as dev_info, dev_dbg, and friends.
```

Changes in v3:
- vchiq_log_error() will log to dev_err
- vchiq_log_warn() will log to dev_warn
- vchiq_log_trace() will log to dev_dbg

Changes in v2:
- Separate out one fixup patch from v1 (Patch 1/9)and send separately
- Drop usage of log_type() and log_category() helpers. Directly use
  dev_dbg() as suggested by Greg KH.
- Drop __func__ annotation from all logs. Dynamic debug has 'f'
  decorator flag which can be used instead of manual __func__
- Reword commit messages.

Umang Jain (4):
  staging: vc04_services: Drop vchiq_log_error() in favour of dev_err
  staging: vc04_services: Drop vchiq_log_warning() in favour of dev_warn
  staging: vc04_services: Drop vchiq_log_trace() in favour of dev_dbg
  staging: vc04_services: Drop vchiq_log_debug() in favour of dev_dbg

 drivers/staging/vc04_services/interface/TODO  |   5 -
 .../interface/vchiq_arm/vchiq_arm.c           | 178 ++++----
 .../interface/vchiq_arm/vchiq_connected.c     |   6 +-
 .../interface/vchiq_arm/vchiq_core.c          | 403 +++++++++---------
 .../interface/vchiq_arm/vchiq_core.h          |  38 --
 .../interface/vchiq_arm/vchiq_dev.c           |  92 ++--
 6 files changed, 314 insertions(+), 408 deletions(-)

-- 
2.41.0


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

end of thread, other threads:[~2023-12-09  9:33 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-05  8:41 [PATCH v3 0/4] staging: vc04_services: Drop custom logging Umang Jain
2023-12-05  8:41 ` [PATCH v3 1/4] staging: vc04_services: Drop vchiq_log_error() in favour of dev_err Umang Jain
2023-12-05 19:32   ` Stefan Wahren
2023-12-06  5:27     ` Umang Jain
2023-12-06 21:34       ` Stefan Wahren
2023-12-07  8:41         ` Umang Jain
2023-12-07 22:28           ` Stefan Wahren
2023-12-07  2:39       ` Greg Kroah-Hartman
2023-12-05  8:41 ` [PATCH v3 2/4] staging: vc04_services: Drop vchiq_log_warning() in favour of dev_warn Umang Jain
2023-12-05 19:37   ` Stefan Wahren
2023-12-05  8:41 ` [PATCH v3 3/4] staging: vc04_services: Drop vchiq_log_trace() in favour of dev_dbg Umang Jain
2023-12-08 12:08   ` Stefan Wahren
2023-12-09  6:27     ` Dan Carpenter
2023-12-09  9:33       ` Stefan Wahren
2023-12-05  8:41 ` [PATCH v3 4/4] staging: vc04_services: Drop vchiq_log_debug() " Umang Jain
2023-12-08 13:00   ` Stefan Wahren

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