Linux Serial subsystem development
 help / color / mirror / Atom feed
* [tty:tty-next 42/45] atmel_serial.c:undefined reference to `__clk_is_enabled'
@ 2022-09-23 16:22 kernel test robot
  2022-09-23 16:28 ` Sergiu.Moga
  0 siblings, 1 reply; 3+ messages in thread
From: kernel test robot @ 2022-09-23 16:22 UTC (permalink / raw)
  To: Sergiu Moga; +Cc: kbuild-all, linux-serial, Greg Kroah-Hartman

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git tty-next
head:   adafbbf6895eb0ce41a313c6ee68870ab9aa93cd
commit: 5e3ce1f261296bfe4bb59a98c82f4959d214a4f7 [42/45] tty: serial: atmel: Make the driver aware of the existence of GCLK
config: m68k-randconfig-r003-20220922 (https://download.01.org/0day-ci/archive/20220924/202209240013.GWFiVnCP-lkp@intel.com/config)
compiler: m68k-linux-gcc (GCC) 12.1.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git/commit/?id=5e3ce1f261296bfe4bb59a98c82f4959d214a4f7
        git remote add tty https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git
        git fetch --no-tags tty tty-next
        git checkout 5e3ce1f261296bfe4bb59a98c82f4959d214a4f7
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=m68k SHELL=/bin/bash

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   m68k-linux-ld: drivers/tty/serial/atmel_serial.o: in function `atmel_set_termios':
>> atmel_serial.c:(.text+0xf88): undefined reference to `__clk_is_enabled'
   m68k-linux-ld: drivers/tty/serial/atmel_serial.o: in function `atmel_serial_pm':
   atmel_serial.c:(.text+0x14fc): undefined reference to `__clk_is_enabled'

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [tty:tty-next 42/45] atmel_serial.c:undefined reference to `__clk_is_enabled'
  2022-09-23 16:22 [tty:tty-next 42/45] atmel_serial.c:undefined reference to `__clk_is_enabled' kernel test robot
@ 2022-09-23 16:28 ` Sergiu.Moga
  2022-09-23 18:10   ` Greg KH
  0 siblings, 1 reply; 3+ messages in thread
From: Sergiu.Moga @ 2022-09-23 16:28 UTC (permalink / raw)
  To: lkp; +Cc: kbuild-all, linux-serial, gregkh

On 23.09.2022 19:22, kernel test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git tty-next
> head:   adafbbf6895eb0ce41a313c6ee68870ab9aa93cd
> commit: 5e3ce1f261296bfe4bb59a98c82f4959d214a4f7 [42/45] tty: serial: atmel: Make the driver aware of the existence of GCLK
> config: m68k-randconfig-r003-20220922 (https://download.01.org/0day-ci/archive/20220924/202209240013.GWFiVnCP-lkp@intel.com/config)
> compiler: m68k-linux-gcc (GCC) 12.1.0
> reproduce (this is a W=1 build):
>          wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
>          chmod +x ~/bin/make.cross
>          # https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git/commit/?id=5e3ce1f261296bfe4bb59a98c82f4959d214a4f7
>          git remote add tty https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git
>          git fetch --no-tags tty tty-next
>          git checkout 5e3ce1f261296bfe4bb59a98c82f4959d214a4f7
>          # save the config file
>          mkdir build_dir && cp config build_dir/.config
>          COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=m68k SHELL=/bin/bash
> 
> If you fix the issue, kindly add following tag where applicable
> | Reported-by: kernel test robot <lkp@intel.com>
> 
> All errors (new ones prefixed by >>):
> 
>     m68k-linux-ld: drivers/tty/serial/atmel_serial.o: in function `atmel_set_termios':
>>> atmel_serial.c:(.text+0xf88): undefined reference to `__clk_is_enabled'
>     m68k-linux-ld: drivers/tty/serial/atmel_serial.o: in function `atmel_serial_pm':
>     atmel_serial.c:(.text+0x14fc): undefined reference to `__clk_is_enabled'
> 
> --
> 0-DAY CI Kernel Test Service
> https://01.org/lkp


This does not appear on ARCH=arm, for which this patch is intended. So I 
guess this is fine?

Thanks,
	Sergiu

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [tty:tty-next 42/45] atmel_serial.c:undefined reference to `__clk_is_enabled'
  2022-09-23 16:28 ` Sergiu.Moga
@ 2022-09-23 18:10   ` Greg KH
  0 siblings, 0 replies; 3+ messages in thread
From: Greg KH @ 2022-09-23 18:10 UTC (permalink / raw)
  To: Sergiu.Moga; +Cc: lkp, kbuild-all, linux-serial

On Fri, Sep 23, 2022 at 04:28:08PM +0000, Sergiu.Moga@microchip.com wrote:
> On 23.09.2022 19:22, kernel test robot wrote:
> > tree:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git tty-next
> > head:   adafbbf6895eb0ce41a313c6ee68870ab9aa93cd
> > commit: 5e3ce1f261296bfe4bb59a98c82f4959d214a4f7 [42/45] tty: serial: atmel: Make the driver aware of the existence of GCLK
> > config: m68k-randconfig-r003-20220922 (https://download.01.org/0day-ci/archive/20220924/202209240013.GWFiVnCP-lkp@intel.com/config)
> > compiler: m68k-linux-gcc (GCC) 12.1.0
> > reproduce (this is a W=1 build):
> >          wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
> >          chmod +x ~/bin/make.cross
> >          # https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git/commit/?id=5e3ce1f261296bfe4bb59a98c82f4959d214a4f7
> >          git remote add tty https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git
> >          git fetch --no-tags tty tty-next
> >          git checkout 5e3ce1f261296bfe4bb59a98c82f4959d214a4f7
> >          # save the config file
> >          mkdir build_dir && cp config build_dir/.config
> >          COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=m68k SHELL=/bin/bash
> > 
> > If you fix the issue, kindly add following tag where applicable
> > | Reported-by: kernel test robot <lkp@intel.com>
> > 
> > All errors (new ones prefixed by >>):
> > 
> >     m68k-linux-ld: drivers/tty/serial/atmel_serial.o: in function `atmel_set_termios':
> >>> atmel_serial.c:(.text+0xf88): undefined reference to `__clk_is_enabled'
> >     m68k-linux-ld: drivers/tty/serial/atmel_serial.o: in function `atmel_serial_pm':
> >     atmel_serial.c:(.text+0x14fc): undefined reference to `__clk_is_enabled'
> > 
> > --
> > 0-DAY CI Kernel Test Service
> > https://01.org/lkp
> 
> 
> This does not appear on ARCH=arm, for which this patch is intended. So I 
> guess this is fine?

No, you can't break the build on any arch.  Please fix up.

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-09-23 18:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-23 16:22 [tty:tty-next 42/45] atmel_serial.c:undefined reference to `__clk_is_enabled' kernel test robot
2022-09-23 16:28 ` Sergiu.Moga
2022-09-23 18:10   ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox