Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
msm: ipa3: Fix incorrect copy size in debugfs drop stats node
GCC complains about this: In file included from ../arch/arm64/include/asm/preempt.h:5, from ../include/linux/preempt.h:78, from ../include/linux/spinlock.h:51, from ../include/linux/wait.h:9, from ../include/linux/wait_bit.h:8, from ../include/linux/fs.h:6, from ../include/linux/debugfs.h:18, from ../drivers/platform/msm/ipa/ipa_v3/ipa_hw_stats.c:13: In function 'check_copy_size', inlined from 'ipa_debugfs_enable_disable_drop_stats' at ../include/linux/uaccess.h:146:6: ../include/linux/thread_info.h:136:4: error: call to '__bad_copy_to' declared with attribute error: copy destination size is too small 136 | __bad_copy_to(); | ^~~~~~~~~~~~~~~ Signed-off-by: Danny Lin <danny@kdrag0n.dev>
- Loading branch information