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:	Tue, 24 Nov 2009 15:29:40 -0800
From:	Andrew Morton <akpm@...ux-foundation.org>
To:	Stefani Seibold <stefani@...bold.net>
Cc:	linux-kernel <linux-kernel@...r.kernel.org>,
	Arnd Bergmann <arnd@...db.de>,
	Andi Kleen <andi@...stfloor.org>,
	Amerigo Wang <xiyou.wangcong@...il.com>,
	Joe Perches <joe@...ches.com>,
	Roger Quadros <quadros.roger@...il.com>,
	Greg Kroah-Hartman <gregkh@...e.de>,
	Mauro Carvalho Chehab <mchehab@...hat.com>
Subject: Re: [PATCH 5/7] kfifo: add DEFINE_KFIFO and friends, add very tiny
 functions

On Fri, 20 Nov 2009 09:27:13 +0100
Stefani Seibold <stefani@...bold.net> wrote:

>  Add DECLARE_KFIFO - macro to declare a kfifo and the associated buffer inside a struct
>  Add INIT_KFIFO - Initialize a kfifo declared by DECLARED_KFIFO
>  Add DEFINE_KFIFO - macro to define and initialize a kfifo as a global or local object
>  Add kfifo_size() - returns the size of the fifo in bytes
>  Add kfifo_is_empty() - returns true if the fifo is empty
>  Add kfifo_is_full() - returns true if the fifo is full
>  Add kfifo_avail() - returns the number of bytes available in the FIFO
>  Do some code cleanup

Causes this:


drivers/scsi/libiscsi_tcp.c: In function 'iscsi_tcp_cleanup_task':
drivers/scsi/libiscsi_tcp.c:449: warning: ignoring return value of 'kfifo_in', declared with attribute warn_unused_result
drivers/scsi/libiscsi_tcp.c:456: warning: ignoring return value of 'kfifo_in', declared with attribute warn_unused_result
drivers/scsi/libiscsi_tcp.c: In function 'iscsi_tcp_r2t_rsp':
drivers/scsi/libiscsi_tcp.c:557: warning: ignoring return value of 'kfifo_in', declared with attribute warn_unused_result
drivers/scsi/libiscsi_tcp.c:573: warning: ignoring return value of 'kfifo_in', declared with attribute warn_unused_result
drivers/scsi/libiscsi_tcp.c:583: warning: ignoring return value of 'kfifo_in', declared with attribute warn_unused_result
drivers/scsi/libiscsi_tcp.c: In function 'iscsi_tcp_get_curr_r2t':
drivers/scsi/libiscsi_tcp.c:985: warning: ignoring return value of 'kfifo_in', declared with attribute warn_unused_result
drivers/scsi/libiscsi_tcp.c:993: warning: ignoring return value of 'kfifo_out', declared with attribute warn_unused_result
--
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