Re: [PATCH] firmware: Allocate firmware id dynamically
From: Andrew Morton
Date: Tue May 26 2009 - 16:24:24 EST
On Tue, 26 May 2009 16:11:35 +0200
Kay Sievers <kay.sievers@xxxxxxxx> wrote:
> On Tue, May 26, 2009 at 16:04, Samuel Ortiz <sameo@xxxxxxxxxxxxxxx> wrote:
> > Since the firmware loader is not maintained by anyone, I'm sending this one to
> > you, for the next merge window:
> It's part of the driver-core directory, and handled by Greg.
To which it doesn't apply. It needed more fixes than I felt like making.
> > The firmware loader has a statically allocated 30 bytes long string for the
> > firmware id (a.k.a. the firmware file name). There is no reason why we couldnt
> > allocate dynamically, and avoid having restrictions on the firmware names
> > lengths.
> Looks good.
> > Please note that we have to keep the FIRMWARE_NAME_MAX definition around as
> > some drivers rely on it.
> I think the 6 files should be converted, and FIRMWARE_NAME_MAX
> removed, otherwise people will keep copying that crap around.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/