lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID:
 <AS8P194MB1431190675980ED3825D4D71D05CA@AS8P194MB1431.EURP194.PROD.OUTLOOK.COM>
Date: Tue, 22 Jul 2025 00:52:48 +0000
From: imen jaziri <imenjaziri@...look.com>
To: "laurent.pinchart@...asonboard.com" <laurent.pinchart@...asonboard.com>,
	"mchehab@...nel.org" <mchehab@...nel.org>
CC: "linux-media@...r.kernel.org" <linux-media@...r.kernel.org>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: [PATCH] Add changes to uvcvideo driver

>From 07ba27cd3d71de21faad4f5dde83f2ee27a81b5c Mon Sep 17 00:00:00 2001
From: Imene Jaziri 
Date: Tue, 22 Jul 2025 01:26:05 +0100
Subject: [PATCH] Add changes to uvcvideo driver Add a pr_info() in the
 uvc_probe function to trace when the uvcvideo driver is loaded. This is for
 learning purposes.

Signed-off-by: Imene Jaziri 
---
 drivers/media/usb/uvc/uvc_driver.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/media/usb/uvc/uvc_driver.c b/drivers/media/usb/uvc/uvc_driver.c
index da24a655ab68..4e5d1d636640 100644
--- a/drivers/media/usb/uvc/uvc_driver.c
+++ b/drivers/media/usb/uvc/uvc_driver.c
@@ -2170,7 +2170,6 @@ static int uvc_probe(struct usb_interface *intf,
 		(const struct uvc_device_info *)id-&gt;driver_info;
 	int function;
 	int ret;
-
 	/* Allocate memory for the device and initialize it. */
 	dev = kzalloc(sizeof(*dev), GFP_KERNEL);
 	if (dev == NULL)
@@ -2188,7 +2187,7 @@ static int uvc_probe(struct usb_interface *intf,
 	dev-&gt;info = info ? info : &amp;uvc_quirk_none;
 	dev-&gt;quirks = uvc_quirks_param == -1
 		    ? dev-&gt;info-&gt;quirks : uvc_quirks_param;
-
+	pr_info("I changed uvcvideo driver in the Linux Kernel\n");
 	if (id-&gt;idVendor &amp;&amp; id-&gt;idProduct)
 		uvc_dbg(dev, PROBE, "Probing known UVC device %s (%04x:%04x)\n",
 			udev-&gt;devpath, id-&gt;idVendor, id-&gt;idProduct);
-- 
2.34.1



Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ