Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

-Wattribute-warning in fs/smb/client/cifsencrypt.c #1969

Closed
nickdesaulniers opened this issue Dec 20, 2023 · 1 comment
Closed

-Wattribute-warning in fs/smb/client/cifsencrypt.c #1969

nickdesaulniers opened this issue Dec 20, 2023 · 1 comment
Labels
duplicate This issue or pull request already exists

Comments

@nickdesaulniers
Copy link
Member

In file included from fs/smb/client/cifsencrypt.c:12:
In file included from ./include/linux/fs.h:6:
In file included from ./include/linux/wait_bit.h:8:
In file included from ./include/linux/wait.h:9:
In file included from ./include/linux/spinlock.h:56:
In file included from ./include/linux/preempt.h:79:
In file included from ./arch/x86/include/asm/preempt.h:9:
In file included from ./include/linux/thread_info.h:60:
In file included from ./arch/x86/include/asm/thread_info.h:53:
In file included from ./arch/x86/include/asm/cpufeature.h:5:
In file included from ./arch/x86/include/asm/processor.h:19:
In file included from ./arch/x86/include/asm/cpuid.h:62:
In file included from ./arch/x86/include/asm/paravirt.h:17:
In file included from ./include/linux/cpumask.h:12:
In file included from ./include/linux/bitmap.h:12:
In file included from ./include/linux/string.h:295:
./include/linux/fortify-string.h:489:4: error: call to '__write_overflow_field' declared with 'warning' attribute: detected write beyond size of field (1st parameter); maybe use struct_group()? [-Werror,-Wattribute-warning]
  489 |                         __write_overflow_field(p_size_field, size);
      |                         ^

from an x86_64 allmodconfig on mainline.

@nickdesaulniers nickdesaulniers added [BUG] Untriaged Something isn't working [CONFIG] allmodconfig Issue affects allmodconfig on certain architectures [ARCH] x86_64 This bug impacts ARCH=x86_64 labels Dec 20, 2023
@nickdesaulniers
Copy link
Member Author

dupe of #1966

@nickdesaulniers nickdesaulniers added duplicate This issue or pull request already exists and removed [BUG] Untriaged Something isn't working [ARCH] x86_64 This bug impacts ARCH=x86_64 [CONFIG] allmodconfig Issue affects allmodconfig on certain architectures labels Dec 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

1 participant