Pull Request已成功合入, 合并人@CANN-robot
(感谢 ad_cx 的贡献)变更摘要
该 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补充结束注释。


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
/approveor/lgtm- Commenting
/approveimplies 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. 👍


流水线任务触发成功
任务链接 [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执行结束




/approve


描述
关联的Issue
测试
文档更新
类型标签