Bug 9970 - ohci-hcd.c compilation warning on 2.6.24.2 & 2.6.25-rc1-git2
Summary: ohci-hcd.c compilation warning on 2.6.24.2 & 2.6.25-rc1-git2
Status: CLOSED CODE_FIX
Alias: None
Product: Drivers
Classification: Unclassified
Component: USB (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: Greg Kroah-Hartman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-13 14:49 UTC by BedOS_Gui
Modified: 2008-04-21 23:38 UTC (History)
0 users

See Also:
Kernel Version: 2.6.24.2 & 2.6.25-rc1-git2
Subsystem:
Regression: ---
Bisected commit-id:


Attachments
.config (42.68 KB, application/octet-stream)
2008-02-13 14:49 UTC, BedOS_Gui
Details

Description BedOS_Gui 2008-02-13 14:49:18 UTC
Latest working kernel version:
Earliest failing kernel version:
Distribution: gentoo ~amd64
Hardware Environment: amd64 X2
Software Environment: gcc-4.2.2
Problem Description:
When building above kernels this compilation warning occurs for drivers/usb/host

  CC      drivers/usb/host/ohci-hcd.o
In file included from drivers/usb/host/ohci-hcd.c:973:
drivers/usb/host/ohci-pci.c: In function ‘ohci_pci_start’:
drivers/usb/host/ohci-pci.c:222: attention : unused variable ‘pdev’

Steps to reproduce:
Comment 1 BedOS_Gui 2008-02-13 14:49:34 UTC
Created attachment 14809 [details]
.config
Comment 2 BedOS_Gui 2008-02-18 00:57:35 UTC
This warning is in discussion in this post :

http://lkml.org/lkml/2007/8/21/225
Comment 3 BedOS_Gui 2008-02-18 01:06:37 UTC
Perhaps a patch in this post :

http://lkml.org/lkml/2007/12/13/135
Comment 4 Natalie Protasevich 2008-04-21 23:38:45 UTC
Fixed now by commit 9a3df1f7de0ecaf77a1dde86f2a4dc020f37f87e.

Note You need to log in before you can comment on or make changes to this bug.