diff options
author | Richard Fitzgerald <rf@opensource.cirrus.com> | 2024-04-08 15:45:50 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-04-08 16:38:06 +0100 |
commit | 866f70211bf43927ca44d8e98b5266926fd51315 (patch) | |
tree | 957deee6489e2368ab4d4cb2ac33de9c375be248 /security/device_cgroup.c | |
parent | 70ee853eec5693fefd8348a2b049d9cb83362e58 (diff) |
regmap: kunit: Fix warnings of implicit casts to __le16 and __be16
Fix warnings about implicit casts to __le16 and __be16 types reported
by smatch:
drivers/base/regmap/regmap-kunit.c:1118:25:
warning: cast to restricted __be16
drivers/base/regmap/regmap-kunit.c:1120:25:
warning: cast to restricted __le16
drivers/base/regmap/regmap-kunit.c:1187:33:
warning: cast to restricted __be16
drivers/base/regmap/regmap-kunit.c:1190:33:
warning: cast to restricted __le16
drivers/base/regmap/regmap-kunit.c:1302:33:
warning: cast to restricted __be16
drivers/base/regmap/regmap-kunit.c:1305:33:
warning: cast to restricted __le16
Perform a __force cast for all these.
Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Link: https://msgid.link/r/20240408144600.230848-2-rf@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'security/device_cgroup.c')
0 files changed, 0 insertions, 0 deletions