From: kernel test robot <lkp@intel.com>
To: Leon Romanovsky <leonro@nvidia.com>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [leon-rdma:dma-split-v1 5/17] kernel/dma/mapping.c:978: warning: Excess function parameter 's' description in 'dma_start_range'
Date: Wed, 1 May 2024 22:16:53 +0800 [thread overview]
Message-ID: <202405012243.ELXQt2Po-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/leon/linux-rdma.git dma-split-v1
head: 98d7b876bb16c599190b66330cc7c5475620ec8c
commit: 86b6c0afbe811e9ad036864ef9b3bd419834cc09 [5/17] dma-mapping: implement link range API
config: openrisc-allnoconfig (https://download.01.org/0day-ci/archive/20240501/202405012243.ELXQt2Po-lkp@intel.com/config)
compiler: or1k-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240501/202405012243.ELXQt2Po-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/202405012243.ELXQt2Po-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> kernel/dma/mapping.c:978: warning: Excess function parameter 's' description in 'dma_start_range'
>> kernel/dma/mapping.c:994: warning: Excess function parameter 's' description in 'dma_end_range'
vim +978 kernel/dma/mapping.c
969
970 /**
971 * dma_start_range - Start a range of IOVA space
972 * @state: IOVA state
973 * @s: range state
974 *
975 * Start a range of IOVA space for the given IOVA state.
976 */
977 void dma_start_range(struct dma_iova_state *state)
> 978 {
979 struct device *dev = state->iova->dev;
980 const struct dma_map_ops *ops = get_dma_ops(dev);
981
982 ops->start_range(state);
983 }
984 EXPORT_SYMBOL_GPL(dma_start_range);
985
986 /**
987 * dma_end_range - End a range of IOVA space
988 * @state: IOVA state
989 * @s: range state
990 *
991 * End a range of IOVA space for the given IOVA state.
992 */
993 void dma_end_range(struct dma_iova_state *state)
> 994 {
995 struct device *dev = state->iova->dev;
996 const struct dma_map_ops *ops = get_dma_ops(dev);
997
998 ops->end_range(state);
999 }
1000 EXPORT_SYMBOL_GPL(dma_end_range);
1001
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2024-05-01 14:17 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=202405012243.ELXQt2Po-lkp@intel.com \
--to=lkp@intel.com \
--cc=leonro@nvidia.com \
--cc=oe-kbuild-all@lists.linux.dev \
/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.