summaryrefslogtreecommitdiff
path: root/drivers/pwm/pwm-stm32.c
diff options
context:
space:
mode:
authorChenghao Duan <duanchenghao@kylinos.cn>2025-08-05 19:00:18 +0800
committerHuacai Chen <chenhuacai@loongson.cn>2025-08-05 19:00:18 +0800
commited1a1fe6ec5e73b23b310b434ace07d1e5060657 (patch)
treea83cf1bcc945db261fd800f0fef3030afa8f4338 /drivers/pwm/pwm-stm32.c
parent6ab55e0a9eac638ca390bfaef6408c10c127e623 (diff)
LoongArch: BPF: Rename and refactor validate_code()
1. Rename the existing validate_code() to validate_ctx() 2. Factor out the code validation handling into a new helper validate_code() Then: * validate_code() is used to check the validity of code. * validate_ctx() is used to check both code validity and table entry correctness. The new validate_code() will be used in subsequent changes. Reviewed-by: Hengqi Chen <hengqi.chen@gmail.com> Co-developed-by: George Guo <guodongtai@kylinos.cn> Signed-off-by: George Guo <guodongtai@kylinos.cn> Signed-off-by: Chenghao Duan <duanchenghao@kylinos.cn> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'drivers/pwm/pwm-stm32.c')
0 files changed, 0 insertions, 0 deletions