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>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230916174020.3218-1-bragathemanick0908@gmail.com>
Date:   Sat, 16 Sep 2023 23:10:20 +0530
From:   Bragatheswaran Manickavel <bragathemanick0908@...il.com>
To:     valentina.manea.m@...il.com, shuah@...nel.org, i@...ithal.me,
        gregkh@...uxfoundation.org
Cc:     Bragatheswaran Manickavel <bragathemanick0908@...il.com>,
        linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH] usb/usbip : fixing warnings in stub_dev.c

Fix some checkpatch complaints in usb/usbip/stub_dev.c

Signed-off-by: Bragatheswaran Manickavel <bragathemanick0908@...il.com>
---
 drivers/usb/usbip/stub_dev.c | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/drivers/usb/usbip/stub_dev.c b/drivers/usb/usbip/stub_dev.c
index 9c6954aad6c8..3a5771f74a3f 100644
--- a/drivers/usb/usbip/stub_dev.c
+++ b/drivers/usb/usbip/stub_dev.c
@@ -495,24 +495,25 @@ static void stub_disconnect(struct usb_device *udev)
 		busid_priv->status = STUB_BUSID_ADDED;
 	/* release busid_lock */
 	spin_unlock(&busid_priv->busid_lock);
-	return;
 }
 
 #ifdef CONFIG_PM
 
-/* These functions need usb_port_suspend and usb_port_resume,
- * which reside in drivers/usb/core/usb.h. Skip for now. */
+/*
+ * These functions need usb_port_suspend and usb_port_resume,
+ * which reside in drivers/usb/core/usb.h. Skip for now.
+ */
 
 static int stub_suspend(struct usb_device *udev, pm_message_t message)
 {
-	dev_dbg(&udev->dev, "stub_suspend\n");
+	dev_dbg(&udev->dev, "stub suspend\n");
 
 	return 0;
 }
 
 static int stub_resume(struct usb_device *udev, pm_message_t message)
 {
-	dev_dbg(&udev->dev, "stub_resume\n");
+	dev_dbg(&udev->dev, "stub resume\n");
 
 	return 0;
 }
-- 
2.34.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ