On Fri, 2008-05-23 at 17:19 +0200, Takashi Iwai wrote:
The 'struct firmware' is const. It contains a pointer to data.
That data is not const.
fw->data = some_other_data; // bad.
fw->data[0] = 0; // ok.
Of course, we could _make_ it const (if we can remember whether it's
'const u8 *' or 'u8 const *'...)
--
dwmw2
--