aboutsummaryrefslogtreecommitdiff
path: root/net/unix/unix_bpf.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <[email protected]>2021-07-30 16:41:59 +0200
committerJakub Kicinski <[email protected]>2021-07-30 17:22:52 +0200
commit3df40eb3a2ea58bf404a38f15a7a2768e4762cb0 (patch)
tree2c1316d052e41769b565b16944d2d92ba0a76a9b /net/unix/unix_bpf.c
parent4932c37878c9c68b8f0cffc6848125ce4437a27d (diff)
nfc: constify several pointers to u8, char and sk_buff
Several functions receive pointers to u8, char or sk_buff but do not modify the contents so make them const. This allows doing the same for local variables and in total makes the code a little bit safer. Signed-off-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/unix/unix_bpf.c')
0 files changed, 0 insertions, 0 deletions