From: kernel test robot <lkp@intel.com>
To: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [plbossart-sound:sdw/start-BRA-support 45/51] drivers/soundwire/cadence_master.c:1947:14: warning: no previous prototype for function 'sdw_write_pdi1_buffer_size'
Date: Tue, 21 Nov 2023 10:32:32 +0800 [thread overview]
Message-ID: <202311211056.ntg6EYFM-lkp@intel.com> (raw)
tree: https://github.com/plbossart/sound sdw/start-BRA-support
head: 19d606a708d272594ed12ea8c4addd3392d0fe99
commit: 266c5b9196958d795f1a201e95222eec2a7bd6f6 [45/51] soundwire: cadence: add BTP/BRA helpers to format data
config: arm64-allmodconfig (https://download.01.org/0day-ci/archive/20231121/202311211056.ntg6EYFM-lkp@intel.com/config)
compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project.git 4a5ac14ee968ff0ad5d2cc1ffa0299048db4c88a)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231121/202311211056.ntg6EYFM-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202311211056.ntg6EYFM-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/soundwire/cadence_master.c:1947:14: warning: no previous prototype for function 'sdw_write_pdi1_buffer_size' [-Wmissing-prototypes]
1947 | unsigned int sdw_write_pdi1_buffer_size(unsigned int actual_data_size)
| ^
drivers/soundwire/cadence_master.c:1947:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
1947 | unsigned int sdw_write_pdi1_buffer_size(unsigned int actual_data_size)
| ^
| static
1 warning generated.
vim +/sdw_write_pdi1_buffer_size +1947 drivers/soundwire/cadence_master.c
1946
> 1947 unsigned int sdw_write_pdi1_buffer_size(unsigned int actual_data_size)
1948 {
1949 unsigned int total;
1950
1951 total = SDW_CDNS_BRA_HDR_RESP +
1952 SDW_CDNS_BRA_HDR_RESP_PAD;
1953
1954 total += SDW_CDNS_BRA_FOOTER_RESP +
1955 SDW_CDNS_BRA_FOOTER_RESP_PAD;
1956
1957 return total * 2;
1958 }
1959
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2023-11-21 2:32 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202311211056.ntg6EYFM-lkp@intel.com \
--to=lkp@intel.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=pierre-louis.bossart@linux.intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.