Commit e6302d5
binfmt: Use struct_size()
Use struct_size() instead of hand-writing it. It is less verbose, more
robust and more informative.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Acked-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/53150beae5dc04dac513dba391a2e4ae8696a7f3.1685290790.git.christophe.jaillet@wanadoo.fr1 parent 60592fb commit e6302d5
1 file changed
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
748 | 748 | | |
749 | 749 | | |
750 | 750 | | |
751 | | - | |
752 | 751 | | |
753 | 752 | | |
754 | 753 | | |
| |||
760 | 759 | | |
761 | 760 | | |
762 | 761 | | |
763 | | - | |
764 | | - | |
| 762 | + | |
765 | 763 | | |
766 | 764 | | |
767 | 765 | | |
| |||
0 commit comments