All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Goldwyn Rodrigues <rgoldwyn@suse.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: [goldwynr:buffered.46 24/90] block/fops.c:507:46: error: too many arguments to function call, expected 3, have 4
Date: Sun, 28 Jan 2024 04:13:19 +0800	[thread overview]
Message-ID: <202401280414.wu2Y9tAX-lkp@intel.com> (raw)

tree:   https://github.com/goldwynr/linux buffered.46
head:   9b93fddebc916105169c8a82d8f3f20fb30ff277
commit: 8f39bf920bebe813810c1d0d392e77dabb415006 [24/90] iomap: Make writeback_control a part of iomap_writepage_ctx
config: riscv-allnoconfig (https://download.01.org/0day-ci/archive/20240128/202401280414.wu2Y9tAX-lkp@intel.com/config)
compiler: clang version 18.0.0git (https://github.com/llvm/llvm-project a31a60074717fc40887cfe132b77eec93bedd307)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240128/202401280414.wu2Y9tAX-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/202401280414.wu2Y9tAX-lkp@intel.com/

All errors (new ones prefixed by >>):

   block/fops.c:476:50: error: too few arguments to function call, expected 3, have 2
     476 |         return iomap_read_folio(folio, &blkdev_iomap_ops);
         |                ~~~~~~~~~~~~~~~~                         ^
   include/linux/iomap.h:280:5: note: 'iomap_read_folio' declared here
     280 | int iomap_read_folio(struct folio *folio, const struct iomap_ops *ops,
         |     ^                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     281 |                 const struct iomap_read_folio_ops *);
         |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   block/fops.c:481:40: error: too few arguments to function call, expected 3, have 2
     481 |         iomap_readahead(rac, &blkdev_iomap_ops);
         |         ~~~~~~~~~~~~~~~                       ^
   include/linux/iomap.h:282:6: note: 'iomap_readahead' declared here
     282 | void iomap_readahead(struct readahead_control *, const struct iomap_ops *ops,
         |      ^               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     283 |                 const struct iomap_read_folio_ops *);
         |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> block/fops.c:507:46: error: too many arguments to function call, expected 3, have 4
     507 |         return iomap_writepages(mapping, wbc, &wpc, &blkdev_writeback_ops);
         |                ~~~~~~~~~~~~~~~~                     ^~~~~~~~~~~~~~~~~~~~~
   include/linux/iomap.h:357:5: note: 'iomap_writepages' declared here
     357 | int iomap_writepages(struct address_space *mapping,
         |     ^                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     358 |                 struct iomap_writepage_ctx *wpc,
         |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     359 |                 const struct iomap_writeback_ops *ops);
         |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   3 errors generated.


vim +507 block/fops.c

925c86a19bacf8 Christoph Hellwig 2023-08-01  501  
925c86a19bacf8 Christoph Hellwig 2023-08-01  502  static int blkdev_writepages(struct address_space *mapping,
925c86a19bacf8 Christoph Hellwig 2023-08-01  503  		struct writeback_control *wbc)
925c86a19bacf8 Christoph Hellwig 2023-08-01  504  {
925c86a19bacf8 Christoph Hellwig 2023-08-01  505  	struct iomap_writepage_ctx wpc = { };
925c86a19bacf8 Christoph Hellwig 2023-08-01  506  
925c86a19bacf8 Christoph Hellwig 2023-08-01 @507  	return iomap_writepages(mapping, wbc, &wpc, &blkdev_writeback_ops);
925c86a19bacf8 Christoph Hellwig 2023-08-01  508  }
925c86a19bacf8 Christoph Hellwig 2023-08-01  509  

:::::: The code at line 507 was first introduced by commit
:::::: 925c86a19bacf8ce10eb666328fb3fa5aff7b951 fs: add CONFIG_BUFFER_HEAD

:::::: TO: Christoph Hellwig <hch@lst.de>
:::::: CC: Jens Axboe <axboe@kernel.dk>

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

                 reply	other threads:[~2024-01-27 20:14 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=202401280414.wu2Y9tAX-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=llvm@lists.linux.dev \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=rgoldwyn@suse.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.