Re: 2.6.17-rc5-mm2 another compile error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 01 Jun 2006 13:42:35 +0200
Helge Hafting <[email protected]> wrote:

>   CC      drivers/dma/ioatdma.o
> drivers/dma/ioatdma.c: In function ‘ioat_init_module’:
> drivers/dma/ioatdma.c:828: error: dereferencing pointer to incomplete type
> make[2]: *** [drivers/dma/ioatdma.o] Error 1
> make[1]: *** [drivers/dma] Error 2
> make: *** [drivers] Error 2
> 

        if (THIS_MODULE != NULL)
                THIS_MODULE->unsafe = 1;

Chris, this won't compile with CONFIG_MODULES=n.

If module unloading is unsafe (why?) then a suitable workaround would be to
take an additional ref on the module (__module_get()) so that it cannot be
unloaded.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux