• Pierre-Louis Bossart's avatar
    ASoC: sti: uniperif: align function prototypes · 00a82008
    Pierre-Louis Bossart authored
    cppcheck warning:
    
    sound/soc/sti/uniperif_player.c:1049:24: style:inconclusive: Function
    'uni_player_init' argument 2 names different: declaration 'uni_player'
    definition 'player'. [funcArgNamesDifferent]
          struct uniperif *player)
                           ^
    sound/soc/sti/uniperif.h:1375:24: note: Function 'uni_player_init'
    argument 2 names different: declaration 'uni_player' definition
    'player'.
          struct uniperif *uni_player);
                           ^
    sound/soc/sti/uniperif_player.c:1049:24: note: Function
    'uni_player_init' argument 2 names different: declaration 'uni_player'
    definition 'player'.
          struct uniperif *player)
                           ^
    sound/soc/sti/uniperif_reader.c:411:24: style:inconclusive: Function
    'uni_reader_init' argument 2 names different: declaration 'uni_reader'
    definition 'reader'. [funcArgNamesDifferent]
          struct uniperif *reader)
                           ^
    sound/soc/sti/uniperif.h:1380:24: note: Function 'uni_reader_init'
    argument 2 names different: declaration 'uni_reader' definition
    'reader'.
          struct uniperif *uni_reader);
                           ^
    sound/soc/sti/uniperif_reader.c:411:24: note: Function
    'uni_reader_init' argument 2 names different: declaration 'uni_reader'
    definition 'reader'.
          struct uniperif *reader)
                           ^
    Signed-off-by: default avatarPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
    Reviewed-by: default avatarArnaud Pouliquen <arnaud.pouliquen@st.com>
    Link: https://lore.kernel.org/r/20210326215927.936377-10-pierre-louis.bossart@linux.intel.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
    00a82008
uniperif.h 48.4 KB