Re: [linux-next:master 6791/7915] arch/mips/kernel/mips-mt.c:233:19: error: conflicting types for 'mt_init'; have 'int(void)'

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

 



On Thu, Feb 24, 2022 at 06:42:52PM +0000, Liam Howlett wrote:
> >    include/linux/maple_tree.h:589:20: note: previous definition of 'mt_init' with type 'void(struct maple_tree *)'
> >      589 | static inline void mt_init(struct maple_tree *mt)
> >          |                    ^~~~~~~
> > 
> > 
> > vim +233 arch/mips/kernel/mips-mt.c
> 
> 
> Naming is hard, all the good ones are taken.  I'll rename the maple tree
> init.

Actually, I think it's probably better to rename the existing one.
mips_mt_init() would be fine.




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux