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: <s5h64bcgmzn.wl%tiwai@suse.de>
Date:	Fri, 12 Jan 2007 18:42:52 +0100
From:	Takashi Iwai <tiwai@...e.de>
To:	Oliver Neukum <oneukum@...e.de>
Cc:	Jaroslav Kysela <perex@...e.cz>, linux-sound@...r.kernel.org,
	linux-kernel@...r.kernel.org
Subject: Re: [patch]cleanup and error reporting for sound/core/init.c

At Fri, 12 Jan 2007 14:49:57 +0100,
Oliver Neukum wrote:
> 
> +	} else {
> +		 if (idx < snd_ecards_limit) {
> +			if (snd_cards_lock & (1 << idx))
> +				err = -EBUSY;	/* invalid */
> +		} else if (idx < SNDRV_CARDS)
> +				snd_ecards_limit = idx + 1; /* increase the limit */
> +			else
> +				err = -ENODEV;

The indent looks strange in the above three lines.
Also, for me it's not much better than before... :)
(all if's are comparisons of idx with other values.)


Takashi
-
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