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] [day] [month] [year] [list]
Date:	Wed, 13 Apr 2011 22:13:37 +0200
From:	Jens Axboe <axboe@...nel.dk>
To:	Liu Yuan <namei.unix@...il.com>
CC:	open list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] block, blk-sysfs: Use the variable directly instead of
 a function call

On 2011-04-13 16:59, Liu Yuan wrote:
> From: Liu Yuan <tailai.ly@...bao.com>
> 
> In the function blk_register_queue(), var _dev_ is already assigned by
> disk_to_dev().So use it directly instead of calling disk_to_dev() again.

Indeed it is, thanks, I'll add this.

-- 
Jens Axboe

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