Re: 2.6.22-rc2 built on ppc

Alan Stern <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
On Sun, 20 May 2007, David Brownell wrote:

> On Sunday 20 May 2007, Elimar Riesebieter wrote:
> > Hi,
> > 
> > FYI, building the kernel modules with
> > gcc (GCC) 4.1.3 20070514 (prerelease) (Debian 4.1.2-7)
> > on my powerbook (PPC) gives:
> > 
> > ...
> > drivers/usb/gadget/net2280.c: In function 'net2280_probe':
> > erivers/usb/gadget/net2280.c:2967: warning: ignoring return value of 'pci_set_mwi', declared with attribute warn_unused_result
> > ...
> 
> Someone stupidly declared that as "must-check".
> The correct response to an error there is to ignore it.

Perhaps you would like to submit a patch removing the
__warn_unused_result attribute from pci_set_mwi(), so this warning
doesn't bother anyone else in the future?

Alan Stern


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.