lkml.org 
[lkml]   [2024]   [May]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [PATCH v2 0/8] spi: use 'time_left' instead of 'timeout' with wait_for_*() functions
    Date
    On Tue, 30 Apr 2024 13:41:32 +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


    \
     
     \ /
      Last update: 2024-05-27 18:12    [W:6.636 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site