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]
Date:	Wed, 10 Jun 2009 23:34:03 -0500
From:	Kumar Gala <galak@...nel.crashing.org>
To:	Li Yang <leoli@...escale.com>
Cc:	akpm@...ux-foundation.org, davem@...emloft.net,
	mporter@...nel.crashing.org, linux-kernel@...r.kernel.org,
	linuxppc-dev@...abs.org, netdev@...r.kernel.org
Subject: Re: [PATCH 5/6] rio: warn_unused_result warnings fix


On May 12, 2009, at 3:36 AM, Li Yang wrote:

> Adding failure path for the following two cases.
>
> warning: ignoring return value of 'device_add', declared with  
> attribute warn_unused_result
> warning: ignoring return value of 'sysfs_create_bin_file', declared  
> with attribute warn_unused_result
>
> Signed-off-by: Li Yang <leoli@...escale.com>
> ---
> drivers/rapidio/rio-scan.c  |   44 +++++++++++++++++++++++++ 
> +----------------
> drivers/rapidio/rio-sysfs.c |    6 +++-
> 2 files changed, 31 insertions(+), 19 deletions(-)

applied w/fixup based on Andrew's comments.

- k
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ