On Mon, 14 Dec 2020 23:26:58 +0530 Divya Koppera wrote:
> This patch add supports for 1588 Hardware Timestamping support
> to LAN8814 Quad Phy. It supports L2 and Ipv4 encapsulations.
> 
> Signed-off-by: Divya Koppera<divya.kopp...@microchip.com>
> ---
> v1 -> v2
> * Fixed warnings
>   Reported-by: kernel test robot <l...@intel.com>

Still doesn't build here:

In file included from ../arch/x86/include/asm/page_32.h:35,
                 from ../arch/x86/include/asm/page.h:14,
                 from ../arch/x86/include/asm/processor.h:19,
                 from ../arch/x86/include/asm/timex.h:5,
                 from ../include/linux/timex.h:65,
                 from ../include/linux/time32.h:13,
                 from ../include/linux/time.h:73,
                 from ../include/linux/stat.h:19,
                 from ../include/linux/module.h:13,
                 from ../drivers/net/phy/micrel.c:24:
In function ‘memcmp’,
    inlined from ‘lan8814_dequeue_skb’ at ../drivers/net/phy/micrel.c:460:7:
../include/linux/string.h:436:4: error: call to ‘__read_overflow2’ declared 
with attribute error: detected read beyond size of object passed as 2nd 
parameter
  436 |    __read_overflow2();
      |    ^~~~~~~~~~~~~~~~~~
make[4]: *** [drivers/net/phy/micrel.o] Error 1
make[3]: *** [drivers/net/phy] Error 2
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [drivers/net] Error 2
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [drivers] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [__sub-make] Error 2
In file included from ../arch/x86/include/asm/page_32.h:35,
                 from ../arch/x86/include/asm/page.h:14,
                 from ../arch/x86/include/asm/processor.h:19,
                 from ../arch/x86/include/asm/timex.h:5,
                 from ../include/linux/timex.h:65,
                 from ../include/linux/time32.h:13,
                 from ../include/linux/time.h:73,
                 from ../include/linux/stat.h:19,
                 from ../include/linux/module.h:13,
                 from ../drivers/net/phy/micrel.c:24:
In function ‘memcmp’,
    inlined from ‘lan8814_dequeue_skb’ at ../drivers/net/phy/micrel.c:460:7:
../include/linux/string.h:436:4: error: call to ‘__read_overflow2’ declared 
with attribute error: detected read beyond size of object passed as 2nd 
parameter
  436 |    __read_overflow2();
      |    ^~~~~~~~~~~~~~~~~~
make[4]: *** [drivers/net/phy/micrel.o] Error 1
make[3]: *** [drivers/net/phy] Error 2
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [drivers/net] Error 2
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [drivers] Error 2
make: *** [__sub-make] Error 2

Reply via email to