diff options
author | Soramichi AKIYAMA <[email protected]> | 2017-01-13 21:56:23 +0900 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2017-01-16 14:59:15 -0300 |
commit | f7ee6595a5acec78963b3de5fbdd537d8aa53b92 (patch) | |
tree | fc082e566e4543d735851634a429da5a2b31989e /scripts/gdb/linux/lists.py | |
parent | 2484c4c58fd1bc0d7711d294c530a1518da6a172 (diff) |
tools lib subcmd: Fix missing member name
This patch adds missing member names to struct initializations.
Although in C99 for struct S {int x, int y} two init codes struct S s =
{.x = (a), (b)} and struct S s = {.x = (a), .y = (b)} are the same, it
is better to explicitly write .y (.argh in this patch) for readability
and robustness against language/compiler evolutions.
Signed-off-by: Soramichi Akiyama <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions