tp:2nd tp error fix

WHY:build faild
HOW:code fix

Change-Id: I0b3e4a4aafba3dd1556e9746d95af7506287a8f7
Reviewed-on: https://gerrit.mot.com/2684937
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
longc 2023-07-21 19:38:21 +08:00 • committed by longc157
commit fc69e2d19d

View file

@ -428,7 +428,7 @@ static int32_t nvt_save_rawdata_to_csv(int32_t *rawdata, uint8_t x_ch, uint8_t y
write_ret = vfs_write(fp, (char __user *)fbufp, output_len, &pos);
#elif (LINUX_VERSION_CODE < KERNEL_VERSION(5, 10, 0))
write_ret = kernel_write(fp, (char __user *)fbufp, output_len, &pos);
#if LINUX_VERSION_CODE >= KERNEL_VERSION(5,15,0)
#elif LINUX_VERSION_CODE >= KERNEL_VERSION(5,15,0)
write_ret = kernel_write(fp, (char __user *)fbufp, output_len, &pos);
#endif