已合并
fix spell err #151
ad_cx创建于 14 天前
fix spell err #151
已合并
ad_cx创建于 14 天前
ad_cx成员
14 天前

描述

关联的Issue

测试

文档更新

类型标签

likedislike
Pull Request已成功合入, 合并人@CANN-robot
(感谢 ad_cx 的贡献)
Aad_cx成员
14 天前 创建了 pull request,commit 91cf5cd3
atomgit-bot
atomgit-bot
14 天前 评论:

变更摘要

该 PR(标题为 "fix spell err")是一次纯文本修正类改动,不涉及任何功能逻辑变更,核心目的是修复多个头文件中的拼写错误(如 timout、Defualt、manaul、kernal、retrun 等),并统一相关代码的格式风格(宏对齐、注释缩进、函数声明换行等)。

主要改动

  • 拼写错误修正:将 hdc_api.h 注释中的 timout 修正为 timeout,将 que_comm_event.h 注释中的 Defualt 修正为 Default,将 task_struct.h 注释中的 kernal 修正为 kernel,将 hw_vdavinci.h 注释中的 retrun 修正为 return,将 dsmi_common_interface_custom.h 注释中的 manaul/automatical 修正为 manual/automatically,并补全 dsmi_common_interface_custom.h 文件末尾缺失的换行符。

  • 宏定义与注释格式统一:在 dsmi_common_interface_custom.h 中对多个宏(如 DEV_DAVINCI_NOT_EXIST、DSMI_MAIN_CMD_GPIO、ALM_NAME_LEN 等)进行对齐整理,并将 Doxygen 注释统一为标准的缩进与 * 对齐风格。

  • 函数声明格式调整:在 hdc_api.h 中对 HdcSessionConnect、HalHdcSessionConnect 等函数声明的换行方式进行重排;在 dsmi_common_interface_custom.h 中对 dsmi_get_computing_power_info、dsmi_get_multi_ecc_record_info、dsmi_product_get_device_info 等接口的声明做格式整理。

  • 枚举与命名空间注释补充:在 hdc_api.h 中调整 IdeLastPacket 枚举声明及 IdeHdcPacket 结构体成员注释的排版,并在文件结尾为命名空间 Adx 补充结束注释。

likedislike
不准确?
atomgit-bot
atomgit-bot
14 天前 评论:

代码审查

✅ 未发现问题

likedislike
不准确?
CANN-robotCANN-robot成员
14 天前 添加了label:cann-cla/yes
CANN-robot
CANN-robot成员
14 天前 评论:

Thanks for your pull-request.
The full list of commands accepted by me can be found at here.
You can get sig-info at here.
You can self-configure the PR merge rules for this repository. For more details, please refer to Here.
For more, you also can visit HICANN.


PR Approval Progress

✅ Congratulations! All modules have met the lgtm and approve requirements.

Module Approval Details

module lgtm status approve status
repo-cann/driver ✅ linyt_86, 潘玉园 (2/2) ✅ linyt_86 (1/1)

💡 Tip:

  • Committer can comment /approve or /lgtm
  • Commenting /approve implies both code review (lgtm) and intent to merge (approve)

CLA Signature Pass

ad_cx, thanks for your pull request. All authors of the commits have signed the CLA. 👍

likedislike
CANN-robotCANN-robot成员
14 天前 将lishengvictor,linyt_86,yanmingxiang,Panyuyuan,yangxiaoyuan,xxwyhq0,StarMickey33设为评审人
CANN-robotCANN-robot成员
14 天前 将lishengvictor,linyt_86,yanmingxiang,Panyuyuan,yangxiaoyuan,xxwyhq0,StarMickey33设为审查人
ad_cx成员
14 天前 评论:

/compile

likedislike
CANN-robotCANN-robot成员
14 天前 添加了label:ci-pipeline-running
CANN-robot
CANN-robot成员
14 天前 评论:

流水线任务触发成功
任务链接 [c3fa8fd8f5564908bbe55f04f92e67ef][流水线指导]

任务名称状态日志下载链接
codecheck ✅ SUCCESS >>>>>
SCA ✅ SUCCESS >>>>>
antipoison ✅ SUCCESS >>>>>
Check_Pr ✅ SUCCESS >>>>>
Compile_Ascend_X86_driver_ubuntu_24_04_npu_910b ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_X86_driver_ubuntu_24_04_npu_910_93 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM_driver_npu_910_93 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM_driver_npu_910b ✅ SUCCESS >>>>> >>>>>
API_Check ✅ SUCCESS >>>>>
Compile_Ascend_X86_driver-dev_ubuntu_24_04_compat_950 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_X86_driver-dev_ubuntu_24_04_npu_950 ✅ SUCCESS >>>>> >>>>>
cocheck_codestyle ✅ SUCCESS
Compile_Ascend_ARM_driver_npu_sp4 ✅ SUCCESS >>>>>
Compile_Ascend_ARM_driver-dev_compat_sp4 ✅ SUCCESS >>>>> >>>>>
precommit ✅ SUCCESS >>>>>
pre_comment ✅ SUCCESS >>>>>
StaticCheck_md ✅ SUCCESS
UT_Test ✅ SUCCESS >>>>>
PreSmoke_A2 ✅ SUCCESS >>>>>

[2026-09-15 17:18:40]    CI执行结束

likedislike
CANN-robotCANN-robot成员
14 天前 添加了label:api-check-pass
CANN-robotCANN-robot成员
14 天前 删除了label:ci-pipeline-running
CANN-robotCANN-robot成员
14 天前 添加了label:ci-pipeline-passed
CANN-robot
CANN-robot成员
14 天前 评论:
流水线 PR-pipeline_cann_driver#455 [ commitID:4a350eba ] 已完成
likedislike
Aad_cx成员
12 天前 关联了issue:[Documentation|文档反馈]: 头文件/源码注释拼写错误汇总 5 处(Defualt/timout/manaul/kernal/retrun)
linyongtian
linyongtian成员
12 天前 评论:

/approve

likedislike
CANN-robotCANN-robot成员
12 天前 添加了label:approved
PAN成员
11 天前 评论:

/lgtm

likedislike
CANN-robotCANN-robot成员
11 天前 添加了label:lgtm
CANN-robotCANN-robot成员
11 天前 合入了pull request