Re: [PATCH v3 3/5] net: ax88796c: ASIX AX88796C SPI Ethernet Adapter Driver

Lukasz Stelmach
2020-10-22T10:01:57Z

[-- Attachment #1: Type: text/plain, Size: 2291 bytes --]

It was <2020-10-22 czw 09:15>, when Marek Szyprowski wrote:
> On 21.10.2020 23:49, Łukasz Stelmach wrote:
>> ASIX AX88796[1] is a versatile ethernet adapter chip, that can be
>> connected to a CPU with a 8/16-bit bus or with an SPI. This driver
>> supports SPI connection.
>>
>> The driver has been ported from the vendor kernel for ARTIK5[2]
>> boards. Several changes were made to adapt it to the current kernel
>> which include:
>>
>> + updated DT configuration,
>> + clock configuration moved to DT,
>> + new timer, ethtool and gpio APIs,
>> + dev_* instead of pr_* and custom printk() wrappers,
>> + removed awkward vendor power managemtn.
>>
>> [1] https://www.asix.com.tw/products.php?op=pItemdetail&PItemID=104;65;86&PLine=65
>> [2] https://git.tizen.org/cgit/profile/common/platform/kernel/linux-3.10-artik/
>>
>> The other ax88796 driver is for NE2000 compatible AX88796L chip. These
>> chips are not compatible. Hence, two separate drivers are required.
>>
>> Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
>
> coś zaszalałeś, jak dobry koreański kod - push bez kompilacji ;)
>
> drivers/net/ethernet/asix/ax88796c_main.c:758:13: error: static
> declaration of ‘ax88796c_set_csums’ follows non-static declaration
>  static void ax88796c_set_csums(struct ax88796c_device *ax_local)
>              ^
> In file included from drivers/net/ethernet/asix/ax88796c_main.c:12:0:
> drivers/net/ethernet/asix/ax88796c_ioctl.h:24:6: note: previous
> declaration of ‘ax88796c_set_csums’ was here
>  void ax88796c_set_csums(struct ax88796c_device *ax_local);
>       ^
> scripts/Makefile.build:283: recipe for target
> 'drivers/net/ethernet/asix/ax88796c_main.o' failed
> make[4]: *** [drivers/net/ethernet/asix/ax88796c_main.o] Error 1
> scripts/Makefile.build:500: recipe for target
> 'drivers/net/ethernet/asix' failed
> make[3]: *** [drivers/net/ethernet/asix] Error 2
> scripts/Makefile.build:500: recipe for target 'drivers/net/ethernet' failed
> make[2]: *** [drivers/net/ethernet] Error 2
> scripts/Makefile.build:500: recipe for target 'drivers/net' failed
> make[1]: *** [drivers/net] Error 2

Fixed. Thanks.

--
Łukasz Stelmach
Samsung R&D Institute Poland
Samsung Electronics

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]