Bug 7340 - compile errors
Summary: compile errors
Status: REJECTED INVALID
Alias: None
Product: Drivers
Classification: Unclassified
Component: PCMCIA (show other bugs)
Hardware: i386 Linux
: P2 normal
Assignee: linux-pcmcia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-11 08:18 UTC by Bill Crowell
Modified: 2006-10-11 18:56 UTC (History)
1 user (show)

See Also:
Kernel Version: 2.6.19-rc1-git6
Subsystem:
Regression: ---
Bisected commit-id:


Attachments

Description Bill Crowell 2006-10-11 08:18:56 UTC
Most recent kernel where this bug did not occur:
Distribution:
Hardware Environment:
Software Environment:
Problem Description:

Steps to reproduce:
drivers/pcmcia/ds.c: In function 'pcmcia_bus_rescan':
drivers/pcmcia/ds.c:744: warning: ignoring return value 
of 'bus_rescan_devices', declared with attribute warn_unused_result
drivers/pcmcia/ds.c: In function 'pcmcia_store_allow_func_id_match':
drivers/pcmcia/ds.c:1012: warning: ignoring return value 
of 'bus_rescan_devices', declared with attribute warn_unused_result
drivers/pcmcia/ds.c: In function 'init_pcmcia_bus':
drivers/pcmcia/ds.c:1297: warning: ignoring return value of 'bus_register', 
declared with attribute warn_unused_result
drivers/pcmcia/ds.c:1298: warning: ignoring return value 
of 'class_interface_register', declared with attribute warn_unused_result
  CC [M]  drivers/pcmcia/pcmcia_resource.o
  CC [M]  drivers/pcmcia/pcmcia_ioctl.o
drivers/pcmcia/pcmcia_ioctl.c: In function 'proc_read_drivers':
drivers/pcmcia/pcmcia_ioctl.c:132: warning: ignoring return value 
of 'bus_for_each_drv', declared with attribute warn_unused_result
drivers/pcmcia/pcmcia_ioctl.c: In function 'bind_request':
drivers/pcmcia/pcmcia_ioctl.c:272: warning: ignoring return value 
of 'bus_rescan_devices', declared with attribute warn_unused_result
  CC [M]  drivers/pcmcia/cs.o
  CC [M]  drivers/pcmcia/cistpl.o
  CC [M]  drivers/pcmcia/rsrc_mgr.o
  CC [M]  drivers/pcmcia/socket_sysfs.o
  CC [M]  drivers/pcmcia/cardbus.o
  LD [M]  drivers/pcmcia/pcmcia_core.o
  LD [M]  drivers/pcmcia/pcmcia.o
  CC [M]  drivers/pcmcia/rsrc_nonstatic.o
  CC [M]  drivers/pcmcia/yenta_socket.o
drivers/pcmcia/yenta_socket.c: In function 'yenta_probe':
drivers/pcmcia/yenta_socket.c:1200: warning: ignoring return value 
of 'device_create_file', declared with attribute warn_unused_result
drivers/pcmcia/yenta_socket.c: In function 'yenta_dev_resume':
drivers/pcmcia/yenta_socket.c:1256: warning: ignoring return value 
of 'pci_enable_device', declared with attribute warn_unused_result
  CC [M]  drivers/pcmcia/pd6729.o
  CC [M]  drivers/pcmcia/i82092.o
drivers/pcmcia/i82092.c: In function 'i82092aa_module_init':
drivers/pcmcia/i82092.c:709: warning: ignoring return value 
of 'pci_register_driver', declared with attribute warn_unused_result
  CC      drivers/pnp/core.o
  CC      drivers/pnp/card.o
drivers/pnp/card.c: In function 'pnp_interface_attach_card':
drivers/pnp/card.c:167: warning: ignoring return value of 'device_create_file', 
declared with attribute warn_unused_result
drivers/pnp/card.c:168: warning: ignoring return value of 'device_create_file', 
declared with attribute warn_unused_result
drivers/pnp/card.c: In function 'pnp_request_card_device':
drivers/pnp/card.c:315: warning: ignoring return value of 'device_bind_driver', 
declared with attribute warn_unused_result
Comment 1 Adrian Bunk 2006-10-11 18:56:07 UTC
It's only a warning, not an error.

And it doesn't make sense to open bugs for every single compile warning in the
kernel.

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