lkml.org 
[lkml]   [2010]   [Dec]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] USB: whci-hcd: fix compiler warning
From
Date
2010-12-01 (수), 08:10 -0800, Greg KH:
> On Wed, Dec 01, 2010 at 01:28:41PM +0900, Namhyung Kim wrote:
> > Annotate whci_hcd_id_table as '__used' to fix following warning:
> >
> > CC drivers/usb/host/whci/hcd.o
> > drivers/usb/host/whci/hcd.c:359: warning: ‘whci_hcd_id_table’ defined but not used
>
> Are you seeing this warning when you build the module into the kernel,
> or as a module?
>
> thanks,
>
> greg k-h

I saw it during allyesconfig build but not on allmodconfig.
Maybe we can wrap it up in #ifdef CONFIG_MODULES ?

Thanks.

--
Regards,
Namhyung Kim


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2010-12-01 17:51    [from the cache]
©2003-2011 Jasper Spaans