Linux USB
 help / color / mirror / Atom feed
* [PATCH 0/2] usb: atm: ueagle-atm: debug message changes
@ 2026-05-20 22:32 Mauricio Faria de Oliveira
  2026-05-20 22:32 ` [PATCH 1/2] usb: atm: ueagle-atm: use dev_dbg() for 'device found' message Mauricio Faria de Oliveira
  2026-05-20 22:32 ` [PATCH 2/2] usb: atm: ueagle-atm: remove function entry/exit debug messages Mauricio Faria de Oliveira
  0 siblings, 2 replies; 5+ messages in thread
From: Mauricio Faria de Oliveira @ 2026-05-20 22:32 UTC (permalink / raw)
  To: Matthieu CASTET, Stanislaw Gruszka, Greg Kroah-Hartman
  Cc: kernel-dev, linux-usb, linux-kernel, Mauricio Faria de Oliveira

This series changes/removes some debug messages in the ueagle-atm driver.

Patch 1 adjusts the 'device found' message to debug level.
Patch 2 removes the function entry/exit debug messages.

With:

  # echo 1 >/sys/module/printk/parameters/ignore_loglevel
  # echo 2 >/sys/module/ueagle_atm/parameters/debug
  # echo 'file drivers/usb/atm/ueagle-atm.c +p' >/sys/kernel/debug/dynamic_debug/control

Changes:

  -usb 1-1: [ueagle-atm vdbg]  entering uea_probe

  -usb 1-1: [ueagle-atm] ADSL device founded vid (0X1039) pid (0X2101) Rev (0X2581): Eagle I
  +usb 1-1: [ueagle-atm dbg] uea_probe: ADSL device found with vid (0X1039) pid (0X2101) Rev (0X2581): Eagle I

  -usb 1-1: [ueagle-atm vdbg]  entering uea_load_firmware
   usb 1-1: [ueagle-atm] pre-firmware device, uploading firmware
   usb 1-1: [ueagle-atm] loading firmware ueagle-atm/eagleI.fw
  -usb 1-1: [ueagle-atm vdbg]  leaving  uea_load_firmware
   usb 1-1: Direct firmware load for ueagle-atm/eagleI.fw failed with error -2
   usb 1-1: Falling back to sysfs fallback for: ueagle-atm/eagleI.fw
   usb 1-1: USB disconnect, device number 2
  -usb 1-1: [ueagle-atm vdbg]  entering uea_disconnect
  -usb 1-1: [ueagle-atm vdbg]  leaving  uea_disconnect
  -usb 1-1: [ueagle-atm vdbg]  entering uea_upload_pre_firmware
   usb 1-1: [UEAGLE-ATM] firmware is not available
  -usb 1-1: [ueagle-atm vdbg]  leaving  uea_upload_pre_firmware

Final:

   usb 1-1: [ueagle-atm dbg] uea_probe: ADSL device found with vid (0X1039) pid (0X2101) Rev (0X2581): Eagle I
   usb 1-1: [ueagle-atm] pre-firmware device, uploading firmware
   usb 1-1: [ueagle-atm] loading firmware ueagle-atm/eagleI.fw
   usb 1-1: Direct firmware load for ueagle-atm/eagleI.fw failed with error -2
   usb 1-1: Falling back to sysfs fallback for: ueagle-atm/eagleI.fw
   usb 1-1: USB disconnect, device number 2
   usb 1-1: [UEAGLE-ATM] firmware is not available

Signed-off-by: Mauricio Faria de Oliveira <mfo@igalia.com>
---
Mauricio Faria de Oliveira (2):
      usb: atm: ueagle-atm: use dev_dbg() for 'device found' message
      usb: atm: ueagle-atm: remove function entry/exit debug messages

 drivers/usb/atm/ueagle-atm.c | 58 ++++++--------------------------------------
 1 file changed, 7 insertions(+), 51 deletions(-)
---
base-commit: 80dd246accce631c328ea43294e53b2b2dd2aa32
change-id: 20260520-ueagle-atm-cleanup-e53d67296693

Best regards,
-- 
Mauricio Faria de Oliveira <mfo@igalia.com>


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

end of thread, other threads:[~2026-05-21 10:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-20 22:32 [PATCH 0/2] usb: atm: ueagle-atm: debug message changes Mauricio Faria de Oliveira
2026-05-20 22:32 ` [PATCH 1/2] usb: atm: ueagle-atm: use dev_dbg() for 'device found' message Mauricio Faria de Oliveira
2026-05-21 10:08   ` Stanislaw Gruszka
2026-05-20 22:32 ` [PATCH 2/2] usb: atm: ueagle-atm: remove function entry/exit debug messages Mauricio Faria de Oliveira
2026-05-21 10:08   ` Stanislaw Gruszka

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