diff options
author | Xin Long <lucien.xin@gmail.com> | 2017-11-25 21:05:32 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-11-28 00:38:45 +0900 |
commit | 3aa623da789ff6edf789b5655debf33f50b3a9b2 (patch) | |
tree | 75fd6707241641bedaf6e6b36192b5ac9955c56f /Documentation/sysctl | |
parent | 67c8d22a73128ff910e2287567132530abcf5b71 (diff) | |
download | lwn-3aa623da789ff6edf789b5655debf33f50b3a9b2.tar.gz lwn-3aa623da789ff6edf789b5655debf33f50b3a9b2.zip |
sctp: use sizeof(__u16) for each stream number length instead of magic number
Now in stream reconf part there are still some places using magic
number 2 for each stream number length. To make it more readable,
this patch is to replace them with sizeof(__u16).
Reported-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Acked-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/sysctl')
0 files changed, 0 insertions, 0 deletions