lkml.org 
[lkml]   [2020]   [Jul]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 02/15] mmc: core: sdio_io: Provide description for sdio_set_host_pm_flags()'s 'flag' arg
    Date
    Add missing kerneldoc entry for sdio_set_host_pm_flags()'s 'flag'
    function argument.

    Fixes the following W=1 kernel build warning:

    kernel/drivers/mmc/core/sdio_io.c:722: warning: Function parameter or member 'flags' not described in 'sdio_set_host_pm_flags'

    Cc: Pierre Ossman <drzeus@drzeus.cx>
    Signed-off-by: Lee Jones <lee.jones@linaro.org>
    ---
    drivers/mmc/core/sdio_io.c | 1 +
    1 file changed, 1 insertion(+)

    diff --git a/drivers/mmc/core/sdio_io.c b/drivers/mmc/core/sdio_io.c
    index 2ba00acf64e64..b5dd893bbcb6f 100644
    --- a/drivers/mmc/core/sdio_io.c
    +++ b/drivers/mmc/core/sdio_io.c
    @@ -709,6 +709,7 @@ EXPORT_SYMBOL_GPL(sdio_get_host_pm_caps);
    /**
    * sdio_set_host_pm_flags - set wanted host power management capabilities
    * @func: SDIO function attached to host
    + * @flags: Power Management flags to set
    *
    * Set a capability bitmask corresponding to wanted host controller
    * power management features for the upcoming suspend state.
    --
    2.25.1
    \
     
     \ /
      Last update: 2020-07-01 14:48    [W:4.281 / U:0.528 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site