* Re: [PATCH] scsi: ufs: mcq: delete ufshcd_release_scsi_cmd in ufshcd_mcq_abort
[not found] <20250516083812.3894396-1-ping.gao@samsung.com>
@ 2025-05-17 5:28 ` kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-05-17 5:28 UTC (permalink / raw)
To: ping.gao, alim.akhtar, avri.altman, bvanassche, James.Bottomley,
martin.petersen, peter.wang, minwoo.im, manivannan.sadhasivam,
chenyuan0y, cw9316.lee, linux-scsi, linux-kernel
Cc: llvm, oe-kbuild-all
Hi ping.gao,
kernel test robot noticed the following build warnings:
[auto build test WARNING on jejb-scsi/for-next]
[also build test WARNING on mkp-scsi/for-next linus/master v6.15-rc6 next-20250516]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/ping-gao/scsi-ufs-mcq-delete-ufshcd_release_scsi_cmd-in-ufshcd_mcq_abort/20250516-163807
base: https://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git for-next
patch link: https://lore.kernel.org/r/20250516083812.3894396-1-ping.gao%40samsung.com
patch subject: [PATCH] scsi: ufs: mcq: delete ufshcd_release_scsi_cmd in ufshcd_mcq_abort
config: arm-randconfig-004-20250517 (https://download.01.org/0day-ci/archive/20250517/202505171237.VZSTTv75-lkp@intel.com/config)
compiler: clang version 21.0.0git (https://github.com/llvm/llvm-project f819f46284f2a79790038e1f6649172789734ae8)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250517/202505171237.VZSTTv75-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/202505171237.VZSTTv75-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/ufs/core/ufs-mcq.c:677:16: warning: unused variable 'flags' [-Wunused-variable]
677 | unsigned long flags;
| ^~~~~
1 warning generated.
vim +/flags +677 drivers/ufs/core/ufs-mcq.c
f1304d4420777f Bao D. Nguyen 2023-05-29 663
f1304d4420777f Bao D. Nguyen 2023-05-29 664 /**
f1304d4420777f Bao D. Nguyen 2023-05-29 665 * ufshcd_mcq_abort - Abort the command in MCQ.
317a38045ab763 Yang Li 2023-07-12 666 * @cmd: The command to be aborted.
f1304d4420777f Bao D. Nguyen 2023-05-29 667 *
3a17fefe0f1960 Bart Van Assche 2023-07-27 668 * Return: SUCCESS or FAILED error codes
f1304d4420777f Bao D. Nguyen 2023-05-29 669 */
f1304d4420777f Bao D. Nguyen 2023-05-29 670 int ufshcd_mcq_abort(struct scsi_cmnd *cmd)
f1304d4420777f Bao D. Nguyen 2023-05-29 671 {
f1304d4420777f Bao D. Nguyen 2023-05-29 672 struct Scsi_Host *host = cmd->device->host;
f1304d4420777f Bao D. Nguyen 2023-05-29 673 struct ufs_hba *hba = shost_priv(host);
f1304d4420777f Bao D. Nguyen 2023-05-29 674 int tag = scsi_cmd_to_rq(cmd)->tag;
f1304d4420777f Bao D. Nguyen 2023-05-29 675 struct ufshcd_lrb *lrbp = &hba->lrb[tag];
f1304d4420777f Bao D. Nguyen 2023-05-29 676 struct ufs_hw_queue *hwq;
27900d7119c464 Peter Wang 2023-11-06 @677 unsigned long flags;
--
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-05-17 5:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20250516083812.3894396-1-ping.gao@samsung.com>
2025-05-17 5:28 ` [PATCH] scsi: ufs: mcq: delete ufshcd_release_scsi_cmd in ufshcd_mcq_abort kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox