lkml.org 
[lkml]   [2021]   [Jul]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH net-next v14 3/3] net: ax88796c: ASIX AX88796C SPI Ethernet Adapter Driver
On Mon, 19 Jul 2021 21:28:52 +0200, Łukasz Stelmach wrote:
> + ax_local->stats =
> + devm_netdev_alloc_pcpu_stats(&spi->dev,
> + struct ax88796c_pcpu_stats);
> + if (!ax_local->stats)
> + return -ENOMEM;
> + u64_stats_init(&ax_local->stats->syncp);

../drivers/net/ethernet/asix/ax88796c_main.c:971:33: warning: incorrect type in argument 1 (different address spaces)
../drivers/net/ethernet/asix/ax88796c_main.c:971:33: expected struct u64_stats_sync *syncp
../drivers/net/ethernet/asix/ax88796c_main.c:971:33: got struct u64_stats_sync [noderef] __percpu *

\
 
 \ /
  Last update: 2021-07-20 12:41    [W:0.063 / U:0.332 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site