233 Star 874 Fork 430

GVPopenEuler / kernel

 / 详情

[openEuler 22.03] scsi:spfc: fix typo

Done
Task
Opened this issue  
2021-11-12 15:36

last_cmsn应该是last_pmsn,只是写错了字符,不影响编译和运行结果。
c: means consumer
p: means producer

drivers/scsi/spfc/hw/spfc_queue.h:	u16 last_cmsn;
drivers/scsi/spfc/hw/spfc_queue.c:			sq_ctrl->last_cmsn = 0;
drivers/scsi/spfc/hw/spfc_queue.c:	pmsn = sq->last_cmsn;
drivers/scsi/spfc/hw/spfc_queue.c:	pmsn = sq->last_cmsn;
drivers/scsi/spfc/hw/spfc_queue.c:			     ssq->last_cmsn,
drivers/scsi/spfc/hw/spfc_queue.c:		link_wqe_msn = SPFC_MSN_DEC(ssq->last_cmsn);
drivers/scsi/spfc/hw/spfc_queue.c:	spfc_build_wqe_owner_pmsn(io_sqe, (ssq->last_pi_owner), ssq->last_cmsn);
drivers/scsi/spfc/hw/spfc_queue.c:	    (u32)(ssq->last_cmsn >> UNF_SHIFT_12) & SPFC_DB_WD0_PI_H_MASK;
drivers/scsi/spfc/hw/spfc_queue.c:	dre_door_bell.wd1.pi_lo = (u32)(ssq->last_cmsn & SPFC_DB_WD0_PI_L_MASK);
drivers/scsi/spfc/hw/spfc_queue.c:		     ssq->last_cmsn, SPFC_GET_QUEUE_CMSN(ssq));
drivers/scsi/spfc/hw/spfc_queue.c:	ssq->last_cmsn = SPFC_MSN_INC(ssq->last_cmsn);
drivers/scsi/spfc/hw/spfc_queue.c:			     ssq->last_cmsn,
drivers/scsi/spfc/hw/spfc_queue.c:		link_wqe_msn = SPFC_MSN_DEC(ssq->last_cmsn);
drivers/scsi/spfc/hw/spfc_queue.c:	spfc_build_wqe_owner_pmsn(io_sqe, !(ssq->last_pi_owner), ssq->last_cmsn);
drivers/scsi/spfc/hw/spfc_queue.c:	ssq->last_cmsn = SPFC_MSN_INC(ssq->last_cmsn);

Comments (2)

宋延陵 created缺陷
openeuler-ci-bot added
 
sig/Kernel
label
Expand operation logs

Hi song-yanling_ramaxel, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at
https://gitee.com/openeuler/community/blob/master/en/sig-infrastructure/command.md.
If you have any questions, please contact the SIG: Kernel, and any of the maintainers: @XieXiuQi , @YangYingliang , @成坚 (CHENG Jian) .

成坚 (CHENG Jian) changed description
成坚 (CHENG Jian) changed issue type from 缺陷 to 任务
成坚 (CHENG Jian) changed description
zhengzengkai throughsrc-openeuler/kernel Pull Request !409 changed issue state from 待办的 to 已完成

诚邀Issue的创建人,负责人,协作人以及评论人对此次Issue解决过程给予评价:

   0   1   2   3   4   5   6   7   8   9   10  

 不满意                        非常满意

Sign in to comment

Status
Assignees
Projects
Milestones
Pull Requests
Successfully merging a pull request will close this issue.
Branches
Planed to start   -   Planed to end
-
Top level
Priority
Duration (hours)
参与者(3)
5329419 openeuler ci bot 1632792936 9968373 openeuler survey bot 1637036855
C
1
https://toscode.gitee.com/openeuler/kernel.git
git@toscode.gitee.com:openeuler/kernel.git
openeuler
kernel
kernel

Search