* [PATCH 0/8] spi: use 'time_left' instead of 'timeout' with wait_for_*() functions
@ 2024-04-29 11:28 Wolfram Sang
2024-04-29 11:28 ` [PATCH 6/8] spi: sun4i: use 'time_left' variable with wait_for_completion_timeout() Wolfram Sang
` (2 more replies)
0 siblings, 3 replies; 9+ messages in thread
From: Wolfram Sang @ 2024-04-29 11:28 UTC (permalink / raw)
To: linux-spi; +Cc: Wolfram Sang, imx, linux-arm-kernel, linux-kernel, linux-sunxi
There is a confusing pattern in the kernel to use a variable named 'timeout' to
store the result of wait_for_*() functions causing patterns like:
timeout = wait_for_completion_timeout(...)
if (!timeout) return -ETIMEDOUT;
with all kinds of permutations. Use 'time_left' as a variable to make the code
obvious and self explaining.
This is part of a tree-wide series. The rest of the patches can be found here
(some parts may still be WIP):
git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git i2c/time_left
Because these patches are generated, I audit them before sending. This is why I
will send series step by step. Build bot is happy with these patches, though.
No functional changes intended.
Wolfram Sang (8):
spi: armada-3700: use 'time_left' variable with
wait_for_completion_timeout()
spi: fsl-lpspi: use 'time_left' variable with
wait_for_completion_timeout()
spi: imx: use 'time_left' variable with wait_for_completion_timeout()
spi: pic32-sqi: use 'time_left' variable with
wait_for_completion_timeout()
spi: pic32: use 'time_left' variable with
wait_for_completion_timeout()
spi: sun4i: use 'time_left' variable with
wait_for_completion_timeout()
spi: sun6i: use 'time_left' variable with
wait_for_completion_timeout()
spi: xlp: use 'time_left' variable with wait_for_completion_timeout()
drivers/spi/spi-armada-3700.c | 8 ++++----
drivers/spi/spi-fsl-lpspi.c | 14 +++++++-------
drivers/spi/spi-imx.c | 20 ++++++++++----------
drivers/spi/spi-pic32-sqi.c | 6 +++---
drivers/spi/spi-pic32.c | 6 +++---
drivers/spi/spi-sun4i.c | 9 +++++----
drivers/spi/spi-sun6i.c | 17 +++++++++--------
drivers/spi/spi-xlp.c | 8 ++++----
8 files changed, 45 insertions(+), 43 deletions(-)
--
2.43.0
^ permalink raw reply [flat|nested] 9+ messages in thread* [PATCH 6/8] spi: sun4i: use 'time_left' variable with wait_for_completion_timeout() 2024-04-29 11:28 [PATCH 0/8] spi: use 'time_left' instead of 'timeout' with wait_for_*() functions Wolfram Sang @ 2024-04-29 11:28 ` Wolfram Sang 2024-04-29 12:14 ` Andre Przywara 2024-04-29 15:19 ` Jernej Škrabec 2024-04-29 11:28 ` [PATCH 7/8] spi: sun6i: " Wolfram Sang 2024-05-02 3:57 ` [PATCH 0/8] spi: use 'time_left' instead of 'timeout' with wait_for_*() functions Mark Brown 2 siblings, 2 replies; 9+ messages in thread From: Wolfram Sang @ 2024-04-29 11:28 UTC (permalink / raw) To: linux-spi Cc: Wolfram Sang, Mark Brown, Chen-Yu Tsai, Jernej Skrabec, Samuel Holland, linux-arm-kernel, linux-sunxi, linux-kernel There is a confusing pattern in the kernel to use a variable named 'timeout' to store the result of wait_for_completion_timeout() causing patterns like: timeout = wait_for_completion_timeout(...) if (!timeout) return -ETIMEDOUT; with all kinds of permutations. Use 'time_left' as a variable to make the code self explaining. Fix to the proper variable type 'unsigned long' while here. Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> --- drivers/spi/spi-sun4i.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/spi/spi-sun4i.c b/drivers/spi/spi-sun4i.c index 11d8bd27b3e9..2ee6755b43f5 100644 --- a/drivers/spi/spi-sun4i.c +++ b/drivers/spi/spi-sun4i.c @@ -206,7 +206,8 @@ static int sun4i_spi_transfer_one(struct spi_controller *host, struct spi_transfer *tfr) { struct sun4i_spi *sspi = spi_controller_get_devdata(host); - unsigned int mclk_rate, div, timeout; + unsigned int mclk_rate, div; + unsigned long time_left; unsigned int start, end, tx_time; unsigned int tx_len = 0; int ret = 0; @@ -327,10 +328,10 @@ static int sun4i_spi_transfer_one(struct spi_controller *host, tx_time = max(tfr->len * 8 * 2 / (tfr->speed_hz / 1000), 100U); start = jiffies; - timeout = wait_for_completion_timeout(&sspi->done, - msecs_to_jiffies(tx_time)); + time_left = wait_for_completion_timeout(&sspi->done, + msecs_to_jiffies(tx_time)); end = jiffies; - if (!timeout) { + if (!time_left) { dev_warn(&host->dev, "%s: timeout transferring %u bytes@%iHz for %i(%i)ms", dev_name(&spi->dev), tfr->len, tfr->speed_hz, -- 2.43.0 ^ permalink raw reply related [flat|nested] 9+ messages in thread
* Re: [PATCH 6/8] spi: sun4i: use 'time_left' variable with wait_for_completion_timeout() 2024-04-29 11:28 ` [PATCH 6/8] spi: sun4i: use 'time_left' variable with wait_for_completion_timeout() Wolfram Sang @ 2024-04-29 12:14 ` Andre Przywara 2024-04-29 15:19 ` Jernej Škrabec 1 sibling, 0 replies; 9+ messages in thread From: Andre Przywara @ 2024-04-29 12:14 UTC (permalink / raw) To: Wolfram Sang Cc: linux-spi, Mark Brown, Chen-Yu Tsai, Jernej Skrabec, Samuel Holland, linux-arm-kernel, linux-sunxi, linux-kernel On Mon, 29 Apr 2024 13:28:39 +0200 Wolfram Sang <wsa+renesas@sang-engineering.com> wrote: > There is a confusing pattern in the kernel to use a variable named 'timeout' to > store the result of wait_for_completion_timeout() causing patterns like: > > timeout = wait_for_completion_timeout(...) > if (!timeout) return -ETIMEDOUT; > > with all kinds of permutations. Use 'time_left' as a variable to make the code > self explaining. > > Fix to the proper variable type 'unsigned long' while here. > > Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Reviewed-by: Andre Przywara <andre.przywara@arm.com> Cheers, Andre > --- > drivers/spi/spi-sun4i.c | 9 +++++---- > 1 file changed, 5 insertions(+), 4 deletions(-) > > diff --git a/drivers/spi/spi-sun4i.c b/drivers/spi/spi-sun4i.c > index 11d8bd27b3e9..2ee6755b43f5 100644 > --- a/drivers/spi/spi-sun4i.c > +++ b/drivers/spi/spi-sun4i.c > @@ -206,7 +206,8 @@ static int sun4i_spi_transfer_one(struct spi_controller *host, > struct spi_transfer *tfr) > { > struct sun4i_spi *sspi = spi_controller_get_devdata(host); > - unsigned int mclk_rate, div, timeout; > + unsigned int mclk_rate, div; > + unsigned long time_left; > unsigned int start, end, tx_time; > unsigned int tx_len = 0; > int ret = 0; > @@ -327,10 +328,10 @@ static int sun4i_spi_transfer_one(struct spi_controller *host, > > tx_time = max(tfr->len * 8 * 2 / (tfr->speed_hz / 1000), 100U); > start = jiffies; > - timeout = wait_for_completion_timeout(&sspi->done, > - msecs_to_jiffies(tx_time)); > + time_left = wait_for_completion_timeout(&sspi->done, > + msecs_to_jiffies(tx_time)); > end = jiffies; > - if (!timeout) { > + if (!time_left) { > dev_warn(&host->dev, > "%s: timeout transferring %u bytes@%iHz for %i(%i)ms", > dev_name(&spi->dev), tfr->len, tfr->speed_hz, ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH 6/8] spi: sun4i: use 'time_left' variable with wait_for_completion_timeout() 2024-04-29 11:28 ` [PATCH 6/8] spi: sun4i: use 'time_left' variable with wait_for_completion_timeout() Wolfram Sang 2024-04-29 12:14 ` Andre Przywara @ 2024-04-29 15:19 ` Jernej Škrabec 1 sibling, 0 replies; 9+ messages in thread From: Jernej Škrabec @ 2024-04-29 15:19 UTC (permalink / raw) To: linux-spi, Wolfram Sang Cc: Wolfram Sang, Mark Brown, Chen-Yu Tsai, Samuel Holland, linux-arm-kernel, linux-sunxi, linux-kernel Dne ponedeljek, 29. april 2024 ob 13:28:39 GMT +2 je Wolfram Sang napisal(a): > There is a confusing pattern in the kernel to use a variable named 'timeout' to > store the result of wait_for_completion_timeout() causing patterns like: > > timeout = wait_for_completion_timeout(...) > if (!timeout) return -ETIMEDOUT; > > with all kinds of permutations. Use 'time_left' as a variable to make the code > self explaining. > > Fix to the proper variable type 'unsigned long' while here. > > Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com> Best regards, Jernej > --- > drivers/spi/spi-sun4i.c | 9 +++++---- > 1 file changed, 5 insertions(+), 4 deletions(-) > > diff --git a/drivers/spi/spi-sun4i.c b/drivers/spi/spi-sun4i.c > index 11d8bd27b3e9..2ee6755b43f5 100644 > --- a/drivers/spi/spi-sun4i.c > +++ b/drivers/spi/spi-sun4i.c > @@ -206,7 +206,8 @@ static int sun4i_spi_transfer_one(struct spi_controller *host, > struct spi_transfer *tfr) > { > struct sun4i_spi *sspi = spi_controller_get_devdata(host); > - unsigned int mclk_rate, div, timeout; > + unsigned int mclk_rate, div; > + unsigned long time_left; > unsigned int start, end, tx_time; > unsigned int tx_len = 0; > int ret = 0; > @@ -327,10 +328,10 @@ static int sun4i_spi_transfer_one(struct spi_controller *host, > > tx_time = max(tfr->len * 8 * 2 / (tfr->speed_hz / 1000), 100U); > start = jiffies; > - timeout = wait_for_completion_timeout(&sspi->done, > - msecs_to_jiffies(tx_time)); > + time_left = wait_for_completion_timeout(&sspi->done, > + msecs_to_jiffies(tx_time)); > end = jiffies; > - if (!timeout) { > + if (!time_left) { > dev_warn(&host->dev, > "%s: timeout transferring %u bytes@%iHz for %i(%i)ms", > dev_name(&spi->dev), tfr->len, tfr->speed_hz, > ^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH 7/8] spi: sun6i: use 'time_left' variable with wait_for_completion_timeout() 2024-04-29 11:28 [PATCH 0/8] spi: use 'time_left' instead of 'timeout' with wait_for_*() functions Wolfram Sang 2024-04-29 11:28 ` [PATCH 6/8] spi: sun4i: use 'time_left' variable with wait_for_completion_timeout() Wolfram Sang @ 2024-04-29 11:28 ` Wolfram Sang 2024-04-29 12:16 ` Andre Przywara 2024-04-29 15:20 ` Jernej Škrabec 2024-05-02 3:57 ` [PATCH 0/8] spi: use 'time_left' instead of 'timeout' with wait_for_*() functions Mark Brown 2 siblings, 2 replies; 9+ messages in thread From: Wolfram Sang @ 2024-04-29 11:28 UTC (permalink / raw) To: linux-spi Cc: Wolfram Sang, Mark Brown, Chen-Yu Tsai, Jernej Skrabec, Samuel Holland, linux-arm-kernel, linux-sunxi, linux-kernel There is a confusing pattern in the kernel to use a variable named 'timeout' to store the result of wait_for_completion_timeout() causing patterns like: timeout = wait_for_completion_timeout(...) if (!timeout) return -ETIMEDOUT; with all kinds of permutations. Use 'time_left' as a variable to make the code self explaining. Fix to the proper variable type 'unsigned long' while here. Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> --- drivers/spi/spi-sun6i.c | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/drivers/spi/spi-sun6i.c b/drivers/spi/spi-sun6i.c index cd018ea1abf1..7bbe7ea0d66a 100644 --- a/drivers/spi/spi-sun6i.c +++ b/drivers/spi/spi-sun6i.c @@ -277,7 +277,8 @@ static int sun6i_spi_transfer_one(struct spi_controller *host, struct spi_transfer *tfr) { struct sun6i_spi *sspi = spi_controller_get_devdata(host); - unsigned int div, div_cdr1, div_cdr2, timeout; + unsigned int div, div_cdr1, div_cdr2; + unsigned long time_left; unsigned int start, end, tx_time; unsigned int trig_level; unsigned int tx_len = 0, rx_len = 0, nbits = 0; @@ -488,26 +489,26 @@ static int sun6i_spi_transfer_one(struct spi_controller *host, tx_time = spi_controller_xfer_timeout(host, tfr); start = jiffies; - timeout = wait_for_completion_timeout(&sspi->done, - msecs_to_jiffies(tx_time)); + time_left = wait_for_completion_timeout(&sspi->done, + msecs_to_jiffies(tx_time)); if (!use_dma) { sun6i_spi_drain_fifo(sspi); } else { - if (timeout && rx_len) { + if (time_left && rx_len) { /* * Even though RX on the peripheral side has finished * RX DMA might still be in flight */ - timeout = wait_for_completion_timeout(&sspi->dma_rx_done, - timeout); - if (!timeout) + time_left = wait_for_completion_timeout(&sspi->dma_rx_done, + time_left); + if (!time_left) dev_warn(&host->dev, "RX DMA timeout\n"); } } end = jiffies; - if (!timeout) { + if (!time_left) { dev_warn(&host->dev, "%s: timeout transferring %u bytes@%iHz for %i(%i)ms", dev_name(&spi->dev), tfr->len, tfr->speed_hz, -- 2.43.0 ^ permalink raw reply related [flat|nested] 9+ messages in thread
* Re: [PATCH 7/8] spi: sun6i: use 'time_left' variable with wait_for_completion_timeout() 2024-04-29 11:28 ` [PATCH 7/8] spi: sun6i: " Wolfram Sang @ 2024-04-29 12:16 ` Andre Przywara 2024-04-29 14:36 ` Wolfram Sang 2024-04-29 15:20 ` Jernej Škrabec 1 sibling, 1 reply; 9+ messages in thread From: Andre Przywara @ 2024-04-29 12:16 UTC (permalink / raw) To: Wolfram Sang Cc: linux-spi, Mark Brown, Chen-Yu Tsai, Jernej Skrabec, Samuel Holland, linux-arm-kernel, linux-sunxi, linux-kernel On Mon, 29 Apr 2024 13:28:40 +0200 Wolfram Sang <wsa+renesas@sang-engineering.com> wrote: Hi, > There is a confusing pattern in the kernel to use a variable named 'timeout' to > store the result of wait_for_completion_timeout() causing patterns like: > > timeout = wait_for_completion_timeout(...) > if (!timeout) return -ETIMEDOUT; > > with all kinds of permutations. Use 'time_left' as a variable to make the code > self explaining. > > Fix to the proper variable type 'unsigned long' while here. > > Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> > --- > drivers/spi/spi-sun6i.c | 17 +++++++++-------- > 1 file changed, 9 insertions(+), 8 deletions(-) > > diff --git a/drivers/spi/spi-sun6i.c b/drivers/spi/spi-sun6i.c > index cd018ea1abf1..7bbe7ea0d66a 100644 > --- a/drivers/spi/spi-sun6i.c > +++ b/drivers/spi/spi-sun6i.c > @@ -277,7 +277,8 @@ static int sun6i_spi_transfer_one(struct spi_controller *host, > struct spi_transfer *tfr) > { > struct sun6i_spi *sspi = spi_controller_get_devdata(host); > - unsigned int div, div_cdr1, div_cdr2, timeout; > + unsigned int div, div_cdr1, div_cdr2; > + unsigned long time_left; > unsigned int start, end, tx_time; > unsigned int trig_level; > unsigned int tx_len = 0, rx_len = 0, nbits = 0; > @@ -488,26 +489,26 @@ static int sun6i_spi_transfer_one(struct spi_controller *host, > > tx_time = spi_controller_xfer_timeout(host, tfr); > start = jiffies; > - timeout = wait_for_completion_timeout(&sspi->done, > - msecs_to_jiffies(tx_time)); > + time_left = wait_for_completion_timeout(&sspi->done, > + msecs_to_jiffies(tx_time)); > > if (!use_dma) { > sun6i_spi_drain_fifo(sspi); > } else { > - if (timeout && rx_len) { > + if (time_left && rx_len) { > /* > * Even though RX on the peripheral side has finished > * RX DMA might still be in flight > */ > - timeout = wait_for_completion_timeout(&sspi->dma_rx_done, > - timeout); > - if (!timeout) > + time_left = wait_for_completion_timeout(&sspi->dma_rx_done, > + time_left); Nit: indentation is off here. Regardless: Reviewed-by: Andre Przywara <andre.przywara@arm.com> Cheers, Andre > + if (!time_left) > dev_warn(&host->dev, "RX DMA timeout\n"); > } > } > > end = jiffies; > - if (!timeout) { > + if (!time_left) { > dev_warn(&host->dev, > "%s: timeout transferring %u bytes@%iHz for %i(%i)ms", > dev_name(&spi->dev), tfr->len, tfr->speed_hz, ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH 7/8] spi: sun6i: use 'time_left' variable with wait_for_completion_timeout() 2024-04-29 12:16 ` Andre Przywara @ 2024-04-29 14:36 ` Wolfram Sang 0 siblings, 0 replies; 9+ messages in thread From: Wolfram Sang @ 2024-04-29 14:36 UTC (permalink / raw) To: Andre Przywara Cc: linux-spi, Mark Brown, Chen-Yu Tsai, Jernej Skrabec, Samuel Holland, linux-arm-kernel, linux-sunxi, linux-kernel [-- Attachment #1: Type: text/plain, Size: 208 bytes --] > > - if (!timeout) > > + time_left = wait_for_completion_timeout(&sspi->dma_rx_done, > > + time_left); > > Nit: indentation is off here. Regardless: Oh, right. Thanks, will fix! [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 833 bytes --] ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH 7/8] spi: sun6i: use 'time_left' variable with wait_for_completion_timeout() 2024-04-29 11:28 ` [PATCH 7/8] spi: sun6i: " Wolfram Sang 2024-04-29 12:16 ` Andre Przywara @ 2024-04-29 15:20 ` Jernej Škrabec 1 sibling, 0 replies; 9+ messages in thread From: Jernej Škrabec @ 2024-04-29 15:20 UTC (permalink / raw) To: linux-spi, Wolfram Sang Cc: Wolfram Sang, Mark Brown, Chen-Yu Tsai, Samuel Holland, linux-arm-kernel, linux-sunxi, linux-kernel Dne ponedeljek, 29. april 2024 ob 13:28:40 GMT +2 je Wolfram Sang napisal(a): > There is a confusing pattern in the kernel to use a variable named 'timeout' to > store the result of wait_for_completion_timeout() causing patterns like: > > timeout = wait_for_completion_timeout(...) > if (!timeout) return -ETIMEDOUT; > > with all kinds of permutations. Use 'time_left' as a variable to make the code > self explaining. > > Fix to the proper variable type 'unsigned long' while here. > > Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com> Best regards, Jernej > --- > drivers/spi/spi-sun6i.c | 17 +++++++++-------- > 1 file changed, 9 insertions(+), 8 deletions(-) > > diff --git a/drivers/spi/spi-sun6i.c b/drivers/spi/spi-sun6i.c > index cd018ea1abf1..7bbe7ea0d66a 100644 > --- a/drivers/spi/spi-sun6i.c > +++ b/drivers/spi/spi-sun6i.c > @@ -277,7 +277,8 @@ static int sun6i_spi_transfer_one(struct spi_controller *host, > struct spi_transfer *tfr) > { > struct sun6i_spi *sspi = spi_controller_get_devdata(host); > - unsigned int div, div_cdr1, div_cdr2, timeout; > + unsigned int div, div_cdr1, div_cdr2; > + unsigned long time_left; > unsigned int start, end, tx_time; > unsigned int trig_level; > unsigned int tx_len = 0, rx_len = 0, nbits = 0; > @@ -488,26 +489,26 @@ static int sun6i_spi_transfer_one(struct spi_controller *host, > > tx_time = spi_controller_xfer_timeout(host, tfr); > start = jiffies; > - timeout = wait_for_completion_timeout(&sspi->done, > - msecs_to_jiffies(tx_time)); > + time_left = wait_for_completion_timeout(&sspi->done, > + msecs_to_jiffies(tx_time)); > > if (!use_dma) { > sun6i_spi_drain_fifo(sspi); > } else { > - if (timeout && rx_len) { > + if (time_left && rx_len) { > /* > * Even though RX on the peripheral side has finished > * RX DMA might still be in flight > */ > - timeout = wait_for_completion_timeout(&sspi->dma_rx_done, > - timeout); > - if (!timeout) > + time_left = wait_for_completion_timeout(&sspi->dma_rx_done, > + time_left); > + if (!time_left) > dev_warn(&host->dev, "RX DMA timeout\n"); > } > } > > end = jiffies; > - if (!timeout) { > + if (!time_left) { > dev_warn(&host->dev, > "%s: timeout transferring %u bytes@%iHz for %i(%i)ms", > dev_name(&spi->dev), tfr->len, tfr->speed_hz, > ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH 0/8] spi: use 'time_left' instead of 'timeout' with wait_for_*() functions 2024-04-29 11:28 [PATCH 0/8] spi: use 'time_left' instead of 'timeout' with wait_for_*() functions Wolfram Sang 2024-04-29 11:28 ` [PATCH 6/8] spi: sun4i: use 'time_left' variable with wait_for_completion_timeout() Wolfram Sang 2024-04-29 11:28 ` [PATCH 7/8] spi: sun6i: " Wolfram Sang @ 2024-05-02 3:57 ` Mark Brown 2 siblings, 0 replies; 9+ messages in thread From: Mark Brown @ 2024-05-02 3:57 UTC (permalink / raw) To: linux-spi, Wolfram Sang; +Cc: imx, linux-arm-kernel, linux-kernel, linux-sunxi On Mon, 29 Apr 2024 13:28:33 +0200, Wolfram Sang wrote: > There is a confusing pattern in the kernel to use a variable named 'timeout' to > store the result of wait_for_*() functions causing patterns like: > > timeout = wait_for_completion_timeout(...) > if (!timeout) return -ETIMEDOUT; > > with all kinds of permutations. Use 'time_left' as a variable to make the code > obvious and self explaining. > > [...] Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next Thanks! [1/8] spi: armada-3700: use 'time_left' variable with wait_for_completion_timeout() commit: 7dbbbb1206dd0b695b9a76d3b758c8a689f1aa52 [2/8] spi: fsl-lpspi: use 'time_left' variable with wait_for_completion_timeout() commit: eef51e99f7b9ecc903a3a9ad9e7ca84dc35c3f52 [3/8] spi: imx: use 'time_left' variable with wait_for_completion_timeout() commit: eaeac043ab842d2e84616ff0412eec0121c1758c [4/8] spi: pic32-sqi: use 'time_left' variable with wait_for_completion_timeout() commit: a7c79e50a26cb619400ccc6294dbd7d8c24a0341 [5/8] spi: pic32: use 'time_left' variable with wait_for_completion_timeout() commit: e66480aed4a194f278da1e46ec45221b3983216f [6/8] spi: sun4i: use 'time_left' variable with wait_for_completion_timeout() commit: 34bed8a33f3a4f69b0ef584ef49f04a671a4a5c2 [7/8] spi: sun6i: use 'time_left' variable with wait_for_completion_timeout() commit: 83a3f1ba60d6e2f73c9dd2627a8ce41867dbc46b [8/8] spi: xlp: use 'time_left' variable with wait_for_completion_timeout() commit: 594aa75d6bdda85b5fd027a5056d8cd1345c1db3 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark ^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2024-05-02 3:57 UTC | newest] Thread overview: 9+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2024-04-29 11:28 [PATCH 0/8] spi: use 'time_left' instead of 'timeout' with wait_for_*() functions Wolfram Sang 2024-04-29 11:28 ` [PATCH 6/8] spi: sun4i: use 'time_left' variable with wait_for_completion_timeout() Wolfram Sang 2024-04-29 12:14 ` Andre Przywara 2024-04-29 15:19 ` Jernej Škrabec 2024-04-29 11:28 ` [PATCH 7/8] spi: sun6i: " Wolfram Sang 2024-04-29 12:16 ` Andre Przywara 2024-04-29 14:36 ` Wolfram Sang 2024-04-29 15:20 ` Jernej Škrabec 2024-05-02 3:57 ` [PATCH 0/8] spi: use 'time_left' instead of 'timeout' with wait_for_*() functions Mark Brown
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox