Message ID | 20241104200120.393312-8-mkl@pengutronix.de (mailing list archive) |
---|---|
State | Accepted |
Commit | eb9a839b3d8a989be5970035a5cf29bcd6ffd24d |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | [net,1/8] can: j1939: fix error in J1939 documentation. | expand |
On Mon, 4 Nov 2024 20:53:30 +0100 Marc Kleine-Budde wrote:
> Reported-by: https://github.com/vdh-robothania
Did you do this because of a checkpatch warning or to give the person
credit? If the former ignore the warning, if the latter I think it's
better to mention their user name in the commit message and that's it.
IMO Reported-by should be a machine readable email address, in case we
need to CC the person and ask for testing.
That's just my $.02 for future cases.
On 04.11.2024 17:44:46, Jakub Kicinski wrote: > On Mon, 4 Nov 2024 20:53:30 +0100 Marc Kleine-Budde wrote: > > Reported-by: https://github.com/vdh-robothania > > Did you do this because of a checkpatch warning or to give the person > credit? If the former ignore the warning, if the latter I think it's > better to mention their user name in the commit message and that's it. I added the link to their gh to credit them. Will @-mention github users without public email addresses in future commits. > IMO Reported-by should be a machine readable email address, in case we > need to CC the person and ask for testing. That makes sense. > That's just my $.02 for future cases. regards, Marc
diff --git a/drivers/net/can/spi/mcp251xfd/mcp251xfd-ring.c b/drivers/net/can/spi/mcp251xfd/mcp251xfd-ring.c index e684991fa391..7209a831f0f2 100644 --- a/drivers/net/can/spi/mcp251xfd/mcp251xfd-ring.c +++ b/drivers/net/can/spi/mcp251xfd/mcp251xfd-ring.c @@ -2,7 +2,7 @@ // // mcp251xfd - Microchip MCP251xFD Family CAN controller driver // -// Copyright (c) 2019, 2020, 2021 Pengutronix, +// Copyright (c) 2019, 2020, 2021, 2024 Pengutronix, // Marc Kleine-Budde <kernel@pengutronix.de> // // Based on: @@ -483,9 +483,11 @@ int mcp251xfd_ring_alloc(struct mcp251xfd_priv *priv) }; const struct ethtool_coalesce ec = { .rx_coalesce_usecs_irq = priv->rx_coalesce_usecs_irq, - .rx_max_coalesced_frames_irq = priv->rx_obj_num_coalesce_irq, + .rx_max_coalesced_frames_irq = priv->rx_obj_num_coalesce_irq == 0 ? + 1 : priv->rx_obj_num_coalesce_irq, .tx_coalesce_usecs_irq = priv->tx_coalesce_usecs_irq, - .tx_max_coalesced_frames_irq = priv->tx_obj_num_coalesce_irq, + .tx_max_coalesced_frames_irq = priv->tx_obj_num_coalesce_irq == 0 ? + 1 : priv->tx_obj_num_coalesce_irq, }; struct can_ram_layout layout;