diff options
author | Edward Liaw <[email protected]> | 2024-04-29 23:46:09 +0000 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2024-05-11 15:51:43 -0700 |
commit | eb59a58113717df04b8a8229befd8ab1e5dbf86e (patch) | |
tree | 76f18031beff0b93395122e45f8f25a4670cb18b /drivers/tty/serial/esp32_acm.c | |
parent | a7ac59f4f23660473e6350306f9b88f24fcc38f1 (diff) |
selftests/kcmp: remove unused open mode
Android bionic warns that open modes are ignored if O_CREAT or O_TMPFILE
aren't specified. The permissions for the file are set above:
fd1 = open(kpath, O_RDWR | O_CREAT | O_TRUNC, 0644);
Link: https://lkml.kernel.org/r/[email protected]
Fixes: d97b46a64674 ("syscalls, x86: add __NR_kcmp syscall")
Signed-off-by: Edward Liaw <[email protected]>
Reviewed-by: Cyrill Gorcunov <[email protected]>
Cc: Eric Biederman <[email protected]>
Cc: Shuah Khan <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'drivers/tty/serial/esp32_acm.c')
0 files changed, 0 insertions, 0 deletions