RE: [EXT] Re: [next, v2] dmaengine: fsl-dpaa2-qdma: export the symbols

From: Peng Ma
Date: Wed Oct 23 2019 - 01:56:24 EST




>-----Original Message-----
>From: Vinod Koul <vkoul@xxxxxxxxxx>
>Sent: 2019年10月23日 13:09
>To: Peng Ma <peng.ma@xxxxxxx>
>Cc: dan.j.williams@xxxxxxxxx; Leo Li <leoyang.li@xxxxxxx>;
>anders.roxell@xxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx;
>dmaengine@xxxxxxxxxxxxxxx
>Subject: [EXT] Re: [next, v2] dmaengine: fsl-dpaa2-qdma: export the symbols
>
>Caution: EXT Email
>
>On 23-10-19, 12:56, Peng Ma wrote:
>> The symbols were not exported leading to error:
>>
>> WARNING: modpost: missing MODULE_LICENSE() in
>drivers/dma/fsl-dpaa2-qdma/dpdmai.o
>> see include/linux/module.h for more information
>> GZIP arch/arm64/boot/Image.gz
>> ERROR: "dpdmai_enable" [drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.ko]
>undefined!
>> ERROR: "dpdmai_set_rx_queue"
>[drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.ko] undefined!
>> ERROR: "dpdmai_get_tx_queue"
>[drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.ko] undefined!
>> ERROR: "dpdmai_get_rx_queue"
>[drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.ko] undefined!
>> ERROR: "dpdmai_get_attributes"
>[drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.ko] undefined!
>> ERROR: "dpdmai_open" [drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.ko]
>undefined!
>> ERROR: "dpdmai_close" [drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.ko]
>undefined!
>> ERROR: "dpdmai_disable" [drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.ko]
>undefined!
>> ERROR: "dpdmai_reset" [drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.ko]
>undefined!
>> WARNING: "HYPERVISOR_platform_op" [vmlinux] is a static
>EXPORT_SYMBOL_GPL
>> make[2]: *** [__modpost] Error 1
>> make[1]: *** [modules] Error 2
>> make[1]: *** Waiting for unfinished jobs....
>> make: *** [sub-make] Error 2
>>
>> So export it.
>
>Applied, thanks
[Peng Ma] Got it.
Thanks,
Peng
>
>--
>~Vinod