Skip to content

firmware: dynamic firmware id allocation

Samuel Ortiz lkml 2 versions New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest7 patches 0 repliesNew
  2. v16 patches 4 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7firmware: allocate firmware id dynamicallydrivers/base/firmware_class.c+13 -30 replies
2/7atm/ueagle-atm: prepare for FIRMWARE_NAME_MAX removaldrivers/usb/atm/ueagle-atm.c+5 -40 replies
3/7tuners/xc2028: prepare for FIRMWARE_NAME_MAX removaldrivers/media/common/tuners/tuner-xc2028.c+1 -10 replies
4/7dvb/dvb-usb: prepare for FIRMWARE_NAME_MAX removaldrivers/media/dvb/dvb-usb/dvb-usb.h+1 -10 replies
5/7pcmcia/ds: prepare for FIRMWARE_NAME_MAX removaldrivers/pcmcia/ds.c+1 -110 replies
6/7wireless/libertas: prepare for FIRMWARE_NAME_MAX removaldrivers/net/wireless/libertas/if_spi.c drivers/net/wireless/libertas/if_spi.h drivers/net/wireless/libertas/if_usb.c+9 -100 replies
7/7firmware: FIRMWARE_NAME_MAX removalinclude/linux/firmware.h+0 -10 replies

Reviews trailers per patch

2 of 7 patches have a Reviewed-by or Acked-by.

PatchMichael KrufkyDan WilliamsSamuel Ortiz
1/7
2/7
3/7
4/7R-b
5/7
6/7A-b A-b
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [PATCH 0/7 v2] firmware: dynamic firmware id allocation

Hi Greg, hi Andrew,

This 6 patches patch set allows for a removal of the firmware name length restriction from the firmware class API.
Currently we're limited to 30 characters for firmware names because of a statically allocated 30 bytes string in the firmware class code. We also want to remove the FIRMWARE_NAME_MAX definition to prevent future drivers from referencing it.

Patch #1 removes that restriction by dynamically allocating the firmware id. Patches #2,3,4,5,6 remove all FIRMWARE_NAME_MAX references from the kernel code.
Patch #7 gets rid of the FIRMWARE_NAME_MAX definition, and should be applied only once all previous patches from this patch set are applied.

Cheers,
Samuel.

v2: Included John Linville's patch for the libertas wireless driver.

Signature · 2 lines
Intel Open Source Technology Centre
http://oss.intel.com/