17 Jan, 2021

1 commit

  • commit d645148cc82ca7fbacaa601414a552184e9c6dd3 upstream.

    'disable_xdmac()' should be called in the error handling path of the
    probe function to undo a previous 'enable_xdmac()' call, as already
    done in the remove function.

    Fixes: a6e9be055d47 ("dmaengine: milbeaut-xdmac: Add XDMAC driver for Milbeaut platforms")
    Signed-off-by: Christophe JAILLET
    Link: https://lore.kernel.org/r/20201219132800.183254-1-christophe.jaillet@wanadoo.fr
    Signed-off-by: Vinod Koul
    Signed-off-by: Greg Kroah-Hartman

    Christophe JAILLET
     

16 Jun, 2020

1 commit

  • There is a regular need in the kernel to provide a way to declare having a
    dynamically sized set of trailing elements in a structure. Kernel code should
    always use “flexible array members”[1] for these cases. The older style of
    one-element or zero-length arrays should no longer be used[2].

    [1] https://en.wikipedia.org/wiki/Flexible_array_member
    [2] https://github.com/KSPP/linux/issues/21

    Signed-off-by: Gustavo A. R. Silva

    Gustavo A. R. Silva
     

08 Nov, 2019

1 commit

  • platform_get_irq() prints the error message, so caller need not do so,
    remove the error line in this driver for platform_get_irq()

    Reported-by: kbuild test robot
    Signed-off-by: Vinod Koul
    Link: https://lore.kernel.org/r/20191106163128.1980714-2-vkoul@kernel.org
    Signed-off-by: Vinod Koul

    Vinod Koul
     

18 Oct, 2019

1 commit