Re: [GIT PATCH] SCSI updates for 2.6.25

From: Ingo Molnar
Date: Sat Apr 19 2008 - 12:42:28 EST



* James Bottomley <James.Bottomley@xxxxxxxxxxxxxxxxxxxxx> wrote:

> > drivers/built-in.o: In function `sas_request_addr':
> > : undefined reference to `release_firmware'
> >
> > config can be found at:
> >
> > http://redhat.com/~mingo/misc/config-Sat_Apr_19_16_58_35_CEST_2008.bad
> >
> > ... brought to you by x86.git's randconfig build and boot service ;-)
>
> This one's fun. The root cause is
>
> CONFIG_SCSI_SAS_LIBSAS=y
> CONFIG_FW_LOADER=m
>
> The problem is that libsas doesn't depend on the FW loader and doesn't
> want to. It just wants to use it if it's available. The definitions
> in include/linux/firmware.h have stubs to facilitate this.
>
> However, CONFIG_FW_LOADER=m defeats the stubs.
>
> This is a bit nasty to fix; however, I think this patch does. I've
> also put a large comment in to explain what's going on.
>
> Signed-off-by: James Bottomley <James.Bottomley@xxxxxxxxxxxxxxxxxxxxx>

thanks James - your fix works fine here.

Tested-by: Ingo Molnar <mingo@xxxxxxx>

Ingo
--
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/