gcarrier
public text v1 · immutablefrom firmware(9):
const struct firmware *
firmware_get(const char *imagename);
while compiling:
if_wpi.c: In function `wpi_init':
if_wpi.c:2768: warning: assignment discards qualifiers from pointer target type
*** Error code 1
static void
wpi_init(void *priv)
{
[...]
Struct firmware *fp;
[...]
fp = firmware_get("wpi_ucode"); // line 2768
[...]
}