Re: [linux-next:master 3766/11889] drivers/media/dvb-frontends/stb0899_drv.h:151:36: error: weak declaration of 'stb0899_attach' being applied to a already existing, static definition

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

 



On Sa, 2018-01-27 at 05:51 +0800, kbuild test robot wrote:
> Hi Wolfgang,
> 
> FYI, the error/warning still remains.
> 
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
> head:   f0701bf7db7ab816244aed52d28ac49f32c8c2c9
> commit: 6cdeaed3b1420bd2569891be0c4123ff59628e9e [3766/11889] media: dvb_usb_pctv452e: module refcount changes were unbalanced
> config: i386-randconfig-c0-01270453 (attached as .config)
> compiler: gcc-7 (Debian 7.2.0-12) 7.2.1 20171025
> reproduce:
>         git checkout 6cdeaed3b1420bd2569891be0c4123ff59628e9e
>         # save the attached .config to linux build tree
>         make ARCH=i386 
> 
> All errors (new ones prefixed by >>):
> 
>    In file included from drivers/media/usb/dvb-usb/pctv452e.c:20:0:
>    drivers/media/usb/dvb-usb/pctv452e.c: In function 'pctv452e_frontend_attach':
> > > drivers/media/dvb-frontends/stb0899_drv.h:151:36: error: weak declaration of 'stb0899_attach' being applied to a already existing, static definition
> 
>     static inline struct dvb_frontend *stb0899_attach(struct stb0899_config *config,
>                                        ^~~~~~~~~~~~~~


Mauro and Arnd have an unfinished discussion about the correct fix, I cannot help with that.



Wolfgang



[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux