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: <200707311617.48755.borntraeger@de.ibm.com>
Date:	Tue, 31 Jul 2007 16:17:48 +0200
From:	Christian Borntraeger <borntraeger@...ibm.com>
To:	jack@...keye.stone.uk.eu.org
Cc:	linux-kernel@...r.kernel.org, trivial@...nel.org,
	Ronald Bultje <rbultje@...ald.bitfreak.net>
Subject: Re: [Patch 06/16] This removes unnecessary kmalloc casts and corrects a test for kmalloc failure.

Am Dienstag, 31. Juli 2007 schrieb jack@...keye.stone.uk.eu.org:
> --- a/drivers/media/video/zoran_driver.c
> +++ b/drivers/media/video/zoran_driver.c
[...]
> -			mem =
> -			    (unsigned long) kmalloc(fh->jpg_buffers.
> -						    buffer_size,
> -						    GFP_KERNEL);
> +			mem = kmalloc(fh->jpg_buffers.buffer_size, GFP_KERNEL);
[...]

NAK. See the comments to the other patches. The cast is necessary.
-
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