[PATCH] fix compiler warning from cgcc/sparse

Danny Kukawka danny.kukawka at web.de
Mon Jan 7 10:20:34 PST 2008


Hi,

this patch fix several compiler warnings from cgcc/spase. 

Please review!

Danny

 hald/create_cache.c                            |   14 ++-------
 hald/hald.c                                    |    4 +-
 hald/hald_dbus.c                               |    5 +--
 hald/hald_runner.c                             |    2 -
 hald/ids.c                                     |    8 ++---
 hald/linux/addons/addon-cpufreq-userspace.c    |   13 ++++----
 hald/linux/addons/addon-cpufreq.c              |   23 +++++++--------
 hald/linux/addons/addon-input.c                |    2 -
 hald/linux/addons/addon-macbook-backlight.c    |    2 -
 hald/linux/addons/addon-macbookpro-backlight.c |    6 ++-
 hald/linux/apm.c                               |    2 -
 hald/linux/hotplug.c                           |    4 +-
 hald/linux/probing/probe-smbios.c              |    4 +-
 hald/util_pm.c                                 |    2 -
 libhal-storage/libhal-storage.c                |    4 +-
 libhal/libhal.c                                |    6 +--
 tools/hal-storage-mount.c                      |    8 +++--
 tools/hal_get_property.c                       |    2 -
 tools/lshal.c                                  |    4 +-
 19 files changed, 58 insertions(+), 57 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hal-fix-compiler_warnings_sparse_cgcc.diff
Type: text/x-diff
Size: 17296 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20080107/613c6f7e/attachment-0001.diff 


More information about the hal mailing list