diff options
| author | ruanjinjie <[email protected]> | 2022-09-14 06:43:39 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2022-09-20 15:19:40 +0000 |
| commit | 53ff25170980b16059010aa28fb5e0b3407a325a (patch) | |
| tree | 239e8a7e92cdcda610ad5a8fac8a47c83f1329e6 /drivers/net/xen-netfront.c | |
| parent | net: phy: micrel: Add interrupts support for LAN8804 PHY (diff) | |
| download | kernel-53ff25170980b16059010aa28fb5e0b3407a325a.tar.gz kernel-53ff25170980b16059010aa28fb5e0b3407a325a.zip | |
xen-netfront: make bounce_skb static
The symbol is not used outside of the file, so mark it static.
Fixes the following warning:
./drivers/net/xen-netfront.c:676:16: warning: symbol 'bounce_skb' was not declared. Should it be static?
Signed-off-by: ruanjinjie <[email protected]>
Reviewed-by: Juergen Gross <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/net/xen-netfront.c')
| -rw-r--r-- | drivers/net/xen-netfront.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/xen-netfront.c b/drivers/net/xen-netfront.c index 27a11cc08c61..2cb7e741e1a2 100644 --- a/drivers/net/xen-netfront.c +++ b/drivers/net/xen-netfront.c @@ -673,7 +673,7 @@ static int xennet_xdp_xmit(struct net_device *dev, int n, return nxmit; } -struct sk_buff *bounce_skb(const struct sk_buff *skb) +static struct sk_buff *bounce_skb(const struct sk_buff *skb) { unsigned int headerlen = skb_headroom(skb); /* Align size to allocate full pages and avoid contiguous data leaks */ |
