All pastes #576109 Raw Edit

gcarrier

public text v1 · immutable
·published 2007-06-19 11:01 UTC
rendered paste body
from 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
[...]
}