diff options
| author | Gustavo A. R. Silva <[email protected]> | 2020-07-23 17:34:22 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2020-07-29 17:07:59 +0200 |
| commit | a32418919dd5e863ce47db1bac9051a5364e44a0 (patch) | |
| tree | a03a620909615abe4085fe3ba20843f4eacf27ae /tools/testing/selftests/bpf/progs/sendmsg_unix_prog.c | |
| parent | 52b52e91899bc5a76a77b42ec1bdf245aee0286e (diff) | |
tty: Use the preferred form for passing the size of a structure type
Use the preferred form for passing the size of a structure type. The
alternative form where the structure type is spelled out hurts
readability and introduces an opportunity for a bug when the object
type is changed but the corresponding object identifier to which the
sizeof operator is applied is not.
Signed-off-by: Gustavo A. R. Silva <[email protected]>
Acked-by: Jiri Slaby <[email protected]>
Link: https://lore.kernel.org/r/b04dd8cdd67bd6ffde3fd12940aeef35fdb824a6.1595543280.git.gustavoars@kernel.org
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/sendmsg_unix_prog.c')
0 files changed, 0 insertions, 0 deletions