summaryrefslogtreecommitdiff
path: root/include/linux/stackprotector.h
diff options
context:
space:
mode:
authorRoi Dayan <roid@nvidia.com>2021-08-11 14:14:49 +0300
committerSaeed Mahameed <saeedm@nvidia.com>2021-09-24 21:46:52 +0300
commit1836d78015b4fdff9cde6559e436e9e394d33197 (patch)
tree557bdd806d4dadd4c54130bc113cc1abfbad6117 /include/linux/stackprotector.h
parent6c2509d4463640c4b91d5937b5b2ff5ca07f6567 (diff)
downloadlinux-1836d78015b4fdff9cde6559e436e9e394d33197.tar.xz
net/mlx5e: Use correct return type
modify_header_match_supported() should return type bool but it returns the value returned by is_action_keys_supported() which is type int. is_action_keys_supported() always returns either -EOPNOTSUPP or 0 and it shouldn't change as the purpose of the function is checking for support. so just make the function return a bool type. Signed-off-by: Roi Dayan <roid@nvidia.com> Reviewed-by: Maor Dickman <maord@nvidia.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'include/linux/stackprotector.h')
0 files changed, 0 insertions, 0 deletions