• Arnd Bergmann's avatar
    net: netcp: MAX_SKB_FRAGS is now 'int' · c5b959ee
    Arnd Bergmann authored
    The type of MAX_SKB_FRAGS has changed recently, so the debug printk
    needs to be updated:
    
    drivers/net/ethernet/ti/netcp_core.c: In function 'netcp_create_interface':
    drivers/net/ethernet/ti/netcp_core.c:2084:30: error: format '%ld' expects argument of type 'long int', but argument 3 has type 'int' [-Werror=format=]
     2084 |                 dev_err(dev, "tx-pool size too small, must be at least %ld\n",
          |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    Fixes: 3948b059 ("net: introduce a config option to tweak MAX_SKB_FRAGS")
    Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    c5b959ee
netcp_core.c 59.8 KB