* [PATCH] btusb.c: Add pr_info() for logging purposes
@ 2025-06-22 7:08 Sumedh W. Jambekar
0 siblings, 0 replies; only message in thread
From: Sumedh W. Jambekar @ 2025-06-22 7:08 UTC (permalink / raw)
To: marcel, luiz.dentz, linux-bluetooth, linux-kernel; +Cc: Sumedh W. Jambekar
In this commit, the pr_info() call is added in the
probe function for logging purposes. This is done
as part of the assignment in the LFD103 course.
Signed-off-by: Sumedh W. Jambekar <linuxsumedh@gmail.com>
---
drivers/bluetooth/btusb.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c
index 9ab661d2d1e6..5ecb9a61a33b 100644
--- a/drivers/bluetooth/btusb.c
+++ b/drivers/bluetooth/btusb.c
@@ -3858,6 +3858,7 @@ static int btusb_probe(struct usb_interface *intf,
unsigned ifnum_base;
int i, err, priv_size;
+ pr_info("SWJ changed the btusb driver in the Linux Kernel\n");
BT_DBG("intf %p id %p", intf, id);
if ((id->driver_info & BTUSB_IFNUM_2) &&
--
2.43.0
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2025-06-22 7:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-22 7:08 [PATCH] btusb.c: Add pr_info() for logging purposes Sumedh W. Jambekar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).