From: Greg Kroah-Hartman Date: Sun, 28 Jul 2019 09:09:34 +0000 (+0200) Subject: fix 4.9 bnx2x build issue X-Git-Tag: v5.2.5~30 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=45db49fd1e66eca652884181fa67c741a03071d3;p=thirdparty%2Fkernel%2Fstable-queue.git fix 4.9 bnx2x build issue --- diff --git a/queue-4.9/bnx2x-prevent-ptp_task-to-be-rescheduled-indefinitely.patch b/queue-4.9/bnx2x-prevent-ptp_task-to-be-rescheduled-indefinitely.patch index bd085589ecf..5dccf114af9 100644 --- a/queue-4.9/bnx2x-prevent-ptp_task-to-be-rescheduled-indefinitely.patch +++ b/queue-4.9/bnx2x-prevent-ptp_task-to-be-rescheduled-indefinitely.patch @@ -1,4 +1,4 @@ -From foo@baz Sun 28 Jul 2019 10:45:09 AM CEST +From foo@baz Fri 26 Jul 2019 12:22:46 PM CEST From: "Guilherme G. Piccoli" Date: Thu, 27 Jun 2019 13:31:33 -0300 Subject: bnx2x: Prevent ptp_task to be rescheduled indefinitely @@ -57,7 +57,7 @@ Signed-off-by: Greg Kroah-Hartman } else if (bp->ptp_tx_skb) { - BNX2X_ERR("The device supports only a single outstanding packet to timestamp, this packet will not be timestamped\n"); + bp->eth_stats.ptp_skip_tx_ts++; -+ netdev_err_once(bp->dev, ++ dev_err_once(&bp->dev->dev, + "Device supports only a single outstanding packet to timestamp, this packet won't be timestamped\n"); } else { skb_shinfo(skb)->tx_flags |= SKBTX_IN_PROGRESS;