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-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090310102227.GA2248@x200.localdomain>
Date:	Tue, 10 Mar 2009 13:22:27 +0300
From:	Alexey Dobriyan <adobriyan@...il.com>
To:	Stoyan Gaydarov <stoyboyker@...il.com>
Cc:	linux-kernel@...r.kernel.org, gregkh@...e.de
Subject: Re: [PATCH 02/25] [staging] BUG to BUG_ON changes

On Tue, Mar 10, 2009 at 12:10:27AM -0500, Stoyan Gaydarov wrote:
> --- a/drivers/staging/usbip/vhci_sysfs.c
> +++ b/drivers/staging/usbip/vhci_sysfs.c
> @@ -31,8 +31,7 @@ static ssize_t show_status(struct device *dev, struct device_attribute *attr,
>  	char *s = out;
>  	int i = 0;
>  
> -	if (!the_controller || !out)
> -		BUG();
> +	BUG_ON(!the_controller || !out);

Should be deleted partially.

>  	spin_lock(&the_controller->lock);
--
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