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]
Date:	Wed, 30 Dec 2009 00:49:29 +0100
From:	René Bolldorf <xsecute@...glemail.com>
To:	Greg Kroah-Hartman <gregkh@...e.de>
CC:	linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH]drivers/usb/core/sysfs.c:201 unused variable 'value'

The variable 'value' is unused in 'set_reset_quirk()'.

Greetings René Bolldorf

--- ./drivers/usb/core/sysfs.c	2009-12-29 23:57:30.579982912 +0100
+++ ./drivers/usb/core/sysfs.c	2009-12-29 23:58:19.114982484 +0100
@@ -198,7 +198,7 @@ set_reset_quirk(struct device *dev, stru
  		const char *buf, size_t count)
  {
  	struct usb_device	*udev = to_usb_device(dev);
-	int			config, value;
+	int			config;

  	if (sscanf(buf, "%d", &config) != 1 || config < 0 || config > 1)
  		return -EINVAL;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ