linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* mipsel: compile warning in drivers/bcma/driver_pci_host.c
@ 2012-11-25 12:25 Arend van Spriel
  2012-11-30 15:01 ` Hauke Mehrtens
  0 siblings, 1 reply; 3+ messages in thread
From: Arend van Spriel @ 2012-11-25 12:25 UTC (permalink / raw)
  To: Rafal Milecki, Hauke Mehrtens; +Cc: linux-wireless@vger.kernel.org

I got the following warning compiling with gcc 4.7.2 for MIPS (based on
bcm47xx_defconfig).

*mipsel*:
  CC      drivers/bcma/driver_pci_host.o
drivers/bcma/driver_pci_host.c: In function 'bcma_core_pci_fixup_addresses':
drivers/bcma/driver_pci_host.c:555:23: error: ignoring return value of
'pci_assign_resource', declared with attribute warn_unused_result
[-Werror=unused-result]

Gr. AvS


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: mipsel: compile warning in drivers/bcma/driver_pci_host.c
  2012-11-25 12:25 mipsel: compile warning in drivers/bcma/driver_pci_host.c Arend van Spriel
@ 2012-11-30 15:01 ` Hauke Mehrtens
  2012-12-03 20:42   ` Arend van Spriel
  0 siblings, 1 reply; 3+ messages in thread
From: Hauke Mehrtens @ 2012-11-30 15:01 UTC (permalink / raw)
  To: Arend van Spriel; +Cc: Rafal Milecki, linux-wireless@vger.kernel.org

On 11/25/2012 01:25 PM, Arend van Spriel wrote:
> I got the following warning compiling with gcc 4.7.2 for MIPS (based on
> bcm47xx_defconfig).
> 
> *mipsel*:
>   CC      drivers/bcma/driver_pci_host.o
> drivers/bcma/driver_pci_host.c: In function 'bcma_core_pci_fixup_addresses':
> drivers/bcma/driver_pci_host.c:555:23: error: ignoring return value of
> 'pci_assign_resource', declared with attribute warn_unused_result
> [-Werror=unused-result]
> 
> Gr. AvS
> 
Hi Arend,

Thanks for the info, this patch should fix this issue:
http://www.spinics.net/lists/linux-wireless/msg99670.html

Hauke

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: mipsel: compile warning in drivers/bcma/driver_pci_host.c
  2012-11-30 15:01 ` Hauke Mehrtens
@ 2012-12-03 20:42   ` Arend van Spriel
  0 siblings, 0 replies; 3+ messages in thread
From: Arend van Spriel @ 2012-12-03 20:42 UTC (permalink / raw)
  To: Hauke Mehrtens; +Cc: Rafal Milecki, linux-wireless@vger.kernel.org

On 11/30/2012 04:01 PM, Hauke Mehrtens wrote:
> On 11/25/2012 01:25 PM, Arend van Spriel wrote:
>> I got the following warning compiling with gcc 4.7.2 for MIPS (based on
>> bcm47xx_defconfig).
>>
>> *mipsel*:
>>   CC      drivers/bcma/driver_pci_host.o
>> drivers/bcma/driver_pci_host.c: In function 'bcma_core_pci_fixup_addresses':
>> drivers/bcma/driver_pci_host.c:555:23: error: ignoring return value of
>> 'pci_assign_resource', declared with attribute warn_unused_result
>> [-Werror=unused-result]
>>
>> Gr. AvS
>>
> Hi Arend,
> 
> Thanks for the info, this patch should fix this issue:
> http://www.spinics.net/lists/linux-wireless/msg99670.html
> 
> Hauke
> 

Yes,

I already saw that patch flying by.

Gr. AvS


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-12-03 20:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-25 12:25 mipsel: compile warning in drivers/bcma/driver_pci_host.c Arend van Spriel
2012-11-30 15:01 ` Hauke Mehrtens
2012-12-03 20:42   ` Arend van Spriel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).