diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2024-03-30 09:32:12 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-04-02 18:20:00 -0700 |
commit | f9a4506438a1068d9ff613319bc64dcaa65f681d (patch) | |
tree | 817de0b4ca3109872681b1dfc03c41762615eb2a /include/net/caif | |
parent | 5f0b6c94e396cff0998737bd9526ddd093a5273d (diff) | |
download | linux-stable-f9a4506438a1068d9ff613319bc64dcaa65f681d.tar.gz linux-stable-f9a4506438a1068d9ff613319bc64dcaa65f681d.tar.bz2 linux-stable-f9a4506438a1068d9ff613319bc64dcaa65f681d.zip |
caif: Use UTILITY_NAME_LENGTH instead of hard-coding 16
UTILITY_NAME_LENGTH is 16. So better use the former when defining the
'utility_name' array. This makes the intent clearer when it is used around
line 260.
While at it, declare variable in reverse xmas tree style.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://lore.kernel.org/r/8c1160501f69b64bb2d45ce9f26f746eec80ac77.1711787352.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/net/caif')
0 files changed, 0 insertions, 0 deletions