]> git.hungrycats.org Git - linux/commit
[PATCH] More 3.4 compilation fixes
authorAndrew Morton <akpm@osdl.org>
Wed, 4 Feb 2004 02:34:24 +0000 (18:34 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Wed, 4 Feb 2004 02:34:24 +0000 (18:34 -0800)
commit71efc9104156892215aa6564fd5dbc8ac61e08b8
treed81f535a7188fb7dbf983980663b18fcdb61de11
parentb3f36a2ae5d7eed8646f724eea863217875251ff
[PATCH] More 3.4 compilation fixes

From: Jan Hubicka <jh@suse.cz>

GCC now converts sprintf (a,"%s",b) to strcpy.  This lose on kernel as
strcpy is not inlined and not present in library, so one gets linker
failure.  It seems to make sense to apply this optimization by hand.
14 files changed:
drivers/acpi/ac.c
drivers/acpi/asus_acpi.c
drivers/acpi/battery.c
drivers/acpi/bus.c
drivers/acpi/button.c
drivers/acpi/ec.c
drivers/acpi/fan.c
drivers/acpi/pci_link.c
drivers/acpi/pci_root.c
drivers/acpi/power.c
drivers/acpi/processor.c
drivers/acpi/scan.c
drivers/acpi/thermal.c
fs/reiserfs/prints.c