You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
../ksmbd-20250310/smb1pdu.c:864:14: error: implicit declaration of function 'ksmbd_vfs_kern_path'; did you mean 'ksmbd_vfs_zero_data'? [-Werror=implicit-function-declaration]
864 | rc = ksmbd_vfs_kern_path(work, newname, LOOKUP_NO_SYMLINKS, &path, 1);
| ^~~~~~~~~~~~~~~~~~~
| ksmbd_vfs_zero_data
../ksmbd-20250310/smb1pdu.c:890:14: error: implicit declaration of function 'ksmbd_vfs_fp_rename'; did you mean 'ksmbd_vfs_rename'? [-Werror=implicit-function-declaration]
890 | rc = ksmbd_vfs_fp_rename(work, fp, newname);
| ^~~~~~~~~~~~~~~~~~~
| ksmbd_vfs_rename
In file included from ./include/linux/string.h:294,
from ./include/linux/bitmap.h:11,
from ./include/linux/cpumask.h:12,
from ./include/linux/smp.h:13,
from ./include/linux/lockdep.h:14,
from ./include/linux/spinlock.h:63,
from ./include/linux/wait.h:9,
from ./include/linux/wait_bit.h:8,
from ./include/linux/fs.h:6,
from ../ksmbd-20250310/smb1pdu.c:7:
In function 'fortify_memset_chk',
inlined from 'query_file_info_pipe' at ../ksmbd-20250310/smb1pdu.c:6833:2,
inlined from 'query_file_info' at ../ksmbd-20250310/smb1pdu.c:6872:10:
./include/linux/fortify-string.h:507:25: error: call to '__write_overflow_field' declared with attribute warning: detected write beyond size of field (1st parameter); maybe use struct_group()? [-Werror=attribute-warning]
507 | __write_overflow_field(p_size_field, size);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'fortify_memset_chk',
inlined from 'query_file_info' at ../ksmbd-20250310/smb1pdu.c:6917:3:
./include/linux/fortify-string.h:507:25: error: call to '__write_overflow_field' declared with attribute warning: detected write beyond size of field (1st parameter); maybe use struct_group()? [-Werror=attribute-warning]
507 | __write_overflow_field(p_size_field, size);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'fortify_memset_chk',
inlined from 'query_file_info' at ../ksmbd-20250310/smb1pdu.c:6952:3:
./include/linux/fortify-string.h:507:25: error: call to '__write_overflow_field' declared with attribute warning: detected write beyond size of field (1st parameter); maybe use struct_group()? [-Werror=attribute-warning]
507 | __write_overflow_field(p_size_field, size);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'fortify_memset_chk',
inlined from 'query_file_info' at ../ksmbd-20250310/smb1pdu.c:6991:3:
./include/linux/fortify-string.h:507:25: error: call to '__write_overflow_field' declared with attribute warning: detected write beyond size of field (1st parameter); maybe use struct_group()? [-Werror=attribute-warning]
507 | __write_overflow_field(p_size_field, size);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'fortify_memset_chk',
inlined from 'query_file_info' at ../ksmbd-20250310/smb1pdu.c:7023:3:
./include/linux/fortify-string.h:507:25: error: call to '__write_overflow_field' declared with attribute warning: detected write beyond size of field (1st parameter); maybe use struct_group()? [-Werror=attribute-warning]
507 | __write_overflow_field(p_size_field, size);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'fortify_memset_chk',
inlined from 'query_file_info' at ../ksmbd-20250310/smb1pdu.c:7037:3:
./include/linux/fortify-string.h:507:25: error: call to '__write_overflow_field' declared with attribute warning: detected write beyond size of field (1st parameter); maybe use struct_group()? [-Werror=attribute-warning]
507 | __write_overflow_field(p_size_field, size);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'fortify_memset_chk',
inlined from 'query_file_info' at ../ksmbd-20250310/smb1pdu.c:7098:3:
./include/linux/fortify-string.h:507:25: error: call to '__write_overflow_field' declared with attribute warning: detected write beyond size of field (1st parameter); maybe use struct_group()? [-Werror=attribute-warning]
507 | __write_overflow_field(p_size_field, size);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'fortify_memset_chk',
inlined from 'query_path_info' at ../ksmbd-20250310/smb1pdu.c:4220:3:
./include/linux/fortify-string.h:507:25: error: call to '__write_overflow_field' declared with attribute warning: detected write beyond size of field (1st parameter); maybe use struct_group()? [-Werror=attribute-warning]
507 | __write_overflow_field(p_size_field, size);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'fortify_memset_chk',
inlined from 'query_path_info' at ../ksmbd-20250310/smb1pdu.c:4283:3:
./include/linux/fortify-string.h:507:25: error: call to '__write_overflow_field' declared with attribute warning: detected write beyond size of field (1st parameter); maybe use struct_group()? [-Werror=attribute-warning]
507 | __write_overflow_field(p_size_field, size);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'fortify_memset_chk',
inlined from 'query_path_info' at ../ksmbd-20250310/smb1pdu.c:4318:3:
./include/linux/fortify-string.h:507:25: error: call to '__write_overflow_field' declared with attribute warning: detected write beyond size of field (1st parameter); maybe use struct_group()? [-Werror=attribute-warning]
507 | __write_overflow_field(p_size_field, size);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'fortify_memset_chk',
inlined from 'query_path_info' at ../ksmbd-20250310/smb1pdu.c:4357:3:
./include/linux/fortify-string.h:507:25: error: call to '__write_overflow_field' declared with attribute warning: detected write beyond size of field (1st parameter); maybe use struct_group()? [-Werror=attribute-warning]
507 | __write_overflow_field(p_size_field, size);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'fortify_memset_chk',
inlined from 'query_path_info' at ../ksmbd-20250310/smb1pdu.c:4371:3:
./include/linux/fortify-string.h:507:25: error: call to '__write_overflow_field' declared with attribute warning: detected write beyond size of field (1st parameter); maybe use struct_group()? [-Werror=attribute-warning]
507 | __write_overflow_field(p_size_field, size);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'fortify_memset_chk',
inlined from 'query_path_info' at ../ksmbd-20250310/smb1pdu.c:4433:3:
./include/linux/fortify-string.h:507:25: error: call to '__write_overflow_field' declared with attribute warning: detected write beyond size of field (1st parameter); maybe use struct_group()? [-Werror=attribute-warning]
507 | __write_overflow_field(p_size_field, size);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'fortify_memset_chk',
inlined from 'query_path_info' at ../ksmbd-20250310/smb1pdu.c:4506:3:
./include/linux/fortify-string.h:507:25: error: call to '__write_overflow_field' declared with attribute warning: detected write beyond size of field (1st parameter); maybe use struct_group()? [-Werror=attribute-warning]
507 | __write_overflow_field(p_size_field, size);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'fortify_memset_chk',
inlined from 'query_path_info' at ../ksmbd-20250310/smb1pdu.c:4568:3:
./include/linux/fortify-string.h:507:25: error: call to '__write_overflow_field' declared with attribute warning: detected write beyond size of field (1st parameter); maybe use struct_group()? [-Werror=attribute-warning]
507 | __write_overflow_field(p_size_field, size);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'fortify_memset_chk',
inlined from 'smb_readlink' at ../ksmbd-20250310/smb1pdu.c:3980:2,
inlined from 'query_path_info' at ../ksmbd-20250310/smb1pdu.c:4576:8:
./include/linux/fortify-string.h:507:25: error: call to '__write_overflow_field' declared with attribute warning: detected write beyond size of field (1st parameter); maybe use struct_group()? [-Werror=attribute-warning]
507 | __write_overflow_field(p_size_field, size);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'fortify_memcpy_chk',
inlined from 'set_service_type' at ../ksmbd-20250310/smb1pdu.c:461:3,
inlined from 'smb_tree_connect_andx' at ../ksmbd-20250310/smb1pdu.c:593:2:
./include/linux/fortify-string.h:597:25: error: call to '__write_overflow_field' declared with attribute warning: detected write beyond size of field (1st parameter); maybe use struct_group()? [-Werror=attribute-warning]
597 | __write_overflow_field(p_size_field, size);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'fortify_memcpy_chk',
inlined from 'set_service_type' at ../ksmbd-20250310/smb1pdu.c:469:3,
inlined from 'smb_tree_connect_andx' at ../ksmbd-20250310/smb1pdu.c:593:2:
./include/linux/fortify-string.h:597:25: error: call to '__write_overflow_field' declared with attribute warning: detected write
beyond size of field (1st parameter); maybe use struct_group()? [-Werror=attribute-warning]
597 | __write_overflow_field(p_size_field, size);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'fortify_memset_chk',
inlined from 'build_sess_rsp_extsec' at ../ksmbd-20250310/smb1pdu.c:1160:3,
inlined from 'smb_session_setup_andx' at ../ksmbd-20250310/smb1pdu.c:1358:8:
./include/linux/fortify-string.h:507:25: error: call to '__write_overflow_field' declared with attribute warning: detected write
beyond size of field (1st parameter); maybe use struct_group()? [-Werror=attribute-warning]
507 | __write_overflow_field(p_size_field, size);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'fortify_memset_chk',
inlined from 'smb_nt_create_andx' at ../ksmbd-20250310/smb1pdu.c:2407:4:
./include/linux/fortify-string.h:507:25: error: call to '__write_overflow_field' declared with attribute warning: detected write beyond size of field (1st parameter); maybe use struct_group()? [-Werror=attribute-warning]
507 | __write_overflow_field(p_size_field, size);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'fortify_memset_chk',
inlined from 'smb_nt_create_andx' at ../ksmbd-20250310/smb1pdu.c:2525:3:
./include/linux/fortify-string.h:507:25: error: call to '__write_overflow_field' declared with attribute warning: detected write beyond size of field (1st parameter); maybe use struct_group()? [-Werror=attribute-warning]
507 | __write_overflow_field(p_size_field, size);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'fortify_memset_chk',
inlined from 'smb_nt_create_andx' at ../ksmbd-20250310/smb1pdu.c:2541:3:
./include/linux/fortify-string.h:507:25: error: call to '__write_overflow_field' declared with attribute warning: detected write
beyond size of field (1st parameter); maybe use struct_group()? [-Werror=attribute-warning]
507 | __write_overflow_field(p_size_field, size);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'fortify_memset_chk',
inlined from 'smb_nt_create_andx' at ../ksmbd-20250310/smb1pdu.c:2566:4:
./include/linux/fortify-string.h:507:25: error: call to '__write_overflow_field' declared with attribute warning: detected write beyond size of field (1st parameter); maybe use struct_group()? [-Werror=attribute-warning]
507 | __write_overflow_field(p_size_field, size);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'fortify_memset_chk',
inlined from 'smb_open_andx' at ../ksmbd-20250310/smb1pdu.c:8323:3:
./include/linux/fortify-string.h:507:25: error: call to '__write_overflow_field' declared with attribute warning: detected write beyond size of field (1st parameter); maybe use struct_group()? [-Werror=attribute-warning]
507 | __write_overflow_field(p_size_field, size);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'fortify_memset_chk',
inlined from 'smb_open_andx' at ../ksmbd-20250310/smb1pdu.c:8386:4:
./include/linux/fortify-string.h:507:25: error: call to '__write_overflow_field' declared with attribute warning: detected write beyond size of field (1st parameter); maybe use struct_group()? [-Werror=attribute-warning]
507 | __write_overflow_field(p_size_field, size);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors```
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: