diff mbox series

[net-next,1/2] net: marvell: mvneta: Fix trigraph warning with W=1

Message ID 20201028002235.928999-2-andrew@lunn.ch
State New
Headers show
Series net trigraph fixes for W=1 | expand

Commit Message

Andrew Lunn Oct. 28, 2020, 12:22 a.m. UTC
drivers/net/ethernet/marvell/mvneta.c: In function ‘mvneta_tx_tso’:
drivers/net/ethernet/marvell/mvneta.c:2651:39: warning: trigraph ??! ignored, use -trigraphs to enable [-Wtrigraphs]
 2651 |   pr_info("*** Is this even  possible???!?!?\n");

Simply the questioning exclamation to a plain question to avoid the warning.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
---
 drivers/net/ethernet/marvell/mvneta.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/net/ethernet/marvell/mvneta.c b/drivers/net/ethernet/marvell/mvneta.c
index 54b0bf574c05..55f4c49c1278 100644
--- a/drivers/net/ethernet/marvell/mvneta.c
+++ b/drivers/net/ethernet/marvell/mvneta.c
@@ -2648,7 +2648,7 @@  static int mvneta_tx_tso(struct sk_buff *skb, struct net_device *dev,
 		return 0;
 
 	if (skb_headlen(skb) < (skb_transport_offset(skb) + tcp_hdrlen(skb))) {
-		pr_info("*** Is this even  possible???!?!?\n");
+		pr_info("*** Is this even  possible????\n");
 		return 0;
 	}