From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: In-Reply-To: <20070816110116.GA8100@pingi.kke.suse.de> References: <20070815235825.GB17004@redhat.com> <1187224811.5906.55.camel@localhost> <20070816084635.GA15985@osiris.boeblingen.de.ibm.com> <20070816110116.GA8100@pingi.kke.suse.de> Mime-Version: 1.0 (Apple Message framework v752.3) Content-Type: text/plain; charset="iso-8859-1"; delsp="yes"; format="flowed" Message-Id: <28AF5775-A29A-4BB8-83DA-2CAEAEDA164E@mac.com> Content-Transfer-Encoding: quoted-printable From: Daniel Schaffrath Subject: Re: drivers/infiniband/mlx/mad.c misplaced ; Date: Sat, 18 Aug 2007 17:14:00 +0200 Sender: linux-kernel-owner@vger.kernel.org List-Archive: List-Post: To: Karsten Keil Cc: =?ISO-8859-1?Q?Ilpo_J=E4rvinen?= , Heiko Carstens , Joe Perches , Dave Jones , Linux Kernel , rolandd@cisco.com, Chas Williams , Paul Mundt , isdn4linux@listserv.isdn4linux.de, mikep@linuxtr.net, Netdev , swen@vnet.ibm.com, linux390@de.ibm.com, linux-s390@vger.kernel.org, jdike@karaya.com, user-mode-linux-devel@lists.sourceforge.net, user-mode-linux-user@lists.sourceforge.net, netfilter-devel@lists.netfilter.org, coreteam@netfilter.org, Satyam Sharma List-ID: On 2007/08/16 , at 13:01, Karsten Keil wrote: > On Thu, Aug 16, 2007 at 01:22:04PM +0300, Ilpo J=E4rvinen wrote: >> >> ...I guess those guys hunting for broken busyloops in the other =20 >> thread >> could also benefit from similar searching commands introduced in this >> thread... ...Ccing Satyam to caught their attention too. >> >> >> ./drivers/isdn/hisax/hfc_pci.c >> 125: if (Read_hfc(cs, HFCPCI_INT_S1)) ; >> 155: if (Read_hfc(cs, HFCPCI_INT_S1)) ; >> 1483: if (Read_hfc(cs, HFCPCI_INT_S1)) ; >> -- >> ./drivers/isdn/hisax/hfc_sx.c >> 377: if (Read_hfc(cs, HFCSX_INT_S1)) ; >> 407: if (Read_hfc(cs, HFCSX_INT_S2)) ; >> 1246: if (Read_hfc(cs, HFCSX_INT_S1)) ; >> -- > > These are workaround to not get compiler warnings about ignored return > values I got some time ago under some architecture. Maybe '(void) Read_hfc(cs, HFCSX_INT_S1)' is a better option to get =20 rid of the warnings.