linux/firmware
Nicolas Iooss d43698e8ab firmware/ihex2fw.c: restore missing default in switch statement
Commit 2473238eac ("ihex: add support for CS:IP/EIP records") removes
the "default:" statement in the switch block, making the "return
usage();" line dead code and ihex2fw silently ignoring unknown options.
Restore this statement.

This bug was found by building with HOSTCC=clang and adding
-Wunreachable-code-return to HOSTCFLAGS.

Fixes: 2473238eac ("ihex: add support for CS:IP/EIP records")
Signed-off-by: Nicolas Iooss <nicolas.iooss_linux@m4x.org>
Cc: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2015-04-17 09:03:56 -04:00
..
3com tokenring: delete all remaining driver support 2012-05-15 20:23:16 -04:00
acenic firmware: convert acenic driver to request_firmware() 2009-01-04 16:10:02 -08:00
adaptec starfire: use request_firmware() 2009-01-04 16:12:11 -08:00
advansys [SCSI] advansys: use request_firmware 2009-04-03 09:25:23 -05:00
av7110 firmware: convert av7110 driver to request_firmware() 2009-04-06 14:34:12 -07:00
bnx2 bnx2: Update firmware and version 2011-03-14 15:00:12 -07:00
bnx2x bnx2x: Update firmware to 6.2.9 2011-03-31 17:03:36 -07:00
cis pcnet_cs: add cis of KTI PE520 pcmcia network card 2010-01-06 20:37:58 -08:00
cpia2 cpia2: use request_firmware() 2008-07-14 14:43:28 -07:00
cxgb3 firmware: Remove obsolete Chelsio cxgb3 firmware 2012-08-02 06:23:25 -06:00
dsp56k make firmware/dsp56k/bootstrap.asm buildable on a56 2009-01-06 15:59:29 -08:00
e100 firmware: convert e100 driver to request_firmware() 2009-01-07 12:59:17 -08:00
edgeport edgeport-ti: use request_firmware() 2008-07-14 14:44:39 -07:00
emi26 emi26: use request_firmware() 2008-07-10 14:49:12 +01:00
emi62 USB: emi62: Provide the correct bitstream firmware 2013-12-10 22:38:45 -08:00
ess firmware: convert maestro3 driver to use firmware loader exclusively 2008-07-10 14:47:46 +01:00
kaweth kaweth: use request_firmware() 2008-07-10 14:47:51 +01:00
keyspan keyspan: use request_firmware() 2008-07-10 14:48:49 +01:00
keyspan_pda Update broken web addresses in the kernel. 2010-10-18 11:03:14 +02:00
korg firmware: convert korg1212 driver to use firmware loader exclusively 2008-07-10 14:47:44 +01:00
matrox drm/mga: Use request_firmware() to load microcode 2009-08-27 10:46:54 +10:00
myricom myri_sbus: use request_firmware 2009-04-04 16:38:42 -07:00
ositech smc91c92_cs: use request_firmware 2009-03-30 20:25:13 +05:30
qlogic firmware,IB/qib: revert firmware file move 2013-04-05 12:19:39 -07:00
r128 drm/r128: Use request_firmware() to load CCE microcode 2009-08-27 10:47:00 +10:00
radeon radeon: Use request_firmware() 2009-08-31 09:09:30 +10:00
sb16 firmware: convert sb16_csp driver to use firmware loader exclusively 2008-07-14 14:45:46 -07:00
sun cassini: use request_firmware 2008-09-22 19:27:10 -07:00
tehuti tehuti: Use request_firmware() 2009-02-26 23:20:56 -08:00
tigon firmware: convert tg3 driver to request_firmware() 2009-01-04 16:11:25 -08:00
ttusb-budget ttusb-budget: use request_firmware() 2008-07-10 14:47:53 +01:00
vicam vicam: use request_firmware() 2008-07-14 14:44:32 -07:00
yam yam: use request_firmware 2009-03-30 19:27:07 +05:30
yamaha ALSA: wavefront - Always use request_firmware() 2009-04-06 14:38:43 -07:00
.gitignore Revert "fix modules_install via NFS" 2009-04-06 14:27:17 -07:00
atmsar11.HEX firmware: convert Ambassador ATM driver to request_firmware() 2008-07-10 14:49:39 +01:00
ihex2fw.c firmware/ihex2fw.c: restore missing default in switch statement 2015-04-17 09:03:56 -04:00
Makefile kbuild: remove obj-n and lib-n handling 2014-10-02 13:55:02 +02:00
mts_cdma.fw.ihex ti_usb_3410_5052: add Multi-Tech firmware 2009-01-12 16:37:01 -08:00
mts_edge.fw.ihex ti_usb_3410_5052: add Multi-Tech firmware 2009-01-12 16:37:01 -08:00
mts_gsm.fw.ihex ti_usb_3410_5052: add Multi-Tech firmware 2009-01-12 16:37:01 -08:00
README.AddingFirmware firmware: Refer to the co-maintained linux-firmware.git repository 2011-12-20 20:14:02 -08:00
ti_3410.fw.ihex ti_usb_3410_5052: use request_firmware() 2008-07-10 14:49:34 +01:00
ti_5052.fw.ihex ti_usb_3410_5052: use request_firmware() 2008-07-10 14:49:34 +01:00
WHENCE Documentation/serial: Delete obsolete driver documentation 2014-04-16 14:20:34 -07:00
whiteheat.HEX whiteheat: use request_firmware() 2008-07-10 14:49:38 +01:00
whiteheat_loader.HEX whiteheat: use request_firmware() 2008-07-10 14:49:38 +01:00
whiteheat_loader_debug.HEX whiteheat: use request_firmware() 2008-07-10 14:49:38 +01:00

	DO NOT ADD FIRMWARE TO THIS DIRECTORY.
	======================================

This directory is only here to contain firmware images extracted from old
device drivers which predate the common use of request_firmware().

As we update those drivers to use request_firmware() and keep a clean
separation between code and firmware, we put the extracted firmware
here.

This directory is _NOT_ for adding arbitrary new firmware images. The
place to add those is the separate linux-firmware repository:

    git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git

That repository contains all these firmware images which have been
extracted from older drivers, as well various new firmware images which
we were never permitted to include in a GPL'd work, but which we _have_
been permitted to redistribute under separate cover.

To submit firmware to that repository, please send either a git binary
diff or preferably a git pull request to:
      David Woodhouse <dwmw2@infradead.org>
      Ben Hutchings <ben@decadent.org.uk>

Your commit should include an update to the WHENCE file clearly
identifying the licence under which the firmware is available, and
that it is redistributable. If the licence is long and involved, it's
permitted to include it in a separate file and refer to it from the
WHENCE file.

Ideally, your commit should contain a Signed-Off-By: from someone
authoritative on the licensing of the firmware in question (i.e. from
within the company that owns the code).