* [openeuler:openEuler-1.0-LTS 1402/1402] block/blk-merge.c:688:16: warning: no previous prototype for 'blk_try_req_merge'
@ 2025-01-09 14:03 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-01-09 14:03 UTC (permalink / raw)
To: kernel, Xie XiuQi; +Cc: oe-kbuild-all
tree: https://gitee.com/openeuler/kernel.git openEuler-1.0-LTS
head: 97f98c391a1fd153ae010a2faf73f9e03270da6e
commit: 5f100bc6aabbe30e55cf20af8e163bb6dba3a3aa [1402/1402] block: fix the DISCARD request merge
config: x86_64-buildonly-randconfig-006-20250109 (https://download.01.org/0day-ci/archive/20250109/202501092100.YDIEEEHw-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250109/202501092100.YDIEEEHw-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/202501092100.YDIEEEHw-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> block/blk-merge.c:688:16: warning: no previous prototype for 'blk_try_req_merge' [-Wmissing-prototypes]
688 | enum elv_merge blk_try_req_merge(struct request *req, struct request *next)
| ^~~~~~~~~~~~~~~~~
vim +/blk_try_req_merge +688 block/blk-merge.c
687
> 688 enum elv_merge blk_try_req_merge(struct request *req, struct request *next)
689 {
690 if (blk_discard_mergable(req))
691 return ELEVATOR_DISCARD_MERGE;
692 else if (blk_rq_pos(req) + blk_rq_sectors(req) == blk_rq_pos(next))
693 return ELEVATOR_BACK_MERGE;
694
695 return ELEVATOR_NO_MERGE;
696 }
697
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-01-09 14:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-09 14:03 [openeuler:openEuler-1.0-LTS 1402/1402] block/blk-merge.c:688:16: warning: no previous prototype for 'blk_try_req_merge' kernel test robot
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.