diff options
author | 2022-06-23 22:14:11 +0100 | |
---|---|---|
committer | 2022-06-29 18:13:08 +0100 | |
commit | cffc2be30288786e242bceb9fedde4dfe6ce442d (patch) | |
tree | b39ebae9252faf2c19f6e44aa70270ca3055fb52 /include/linux/regmap.h | |
parent | regmap-irq: Remove unused type_reg_stride field (diff) | |
download | wireguard-linux-cffc2be30288786e242bceb9fedde4dfe6ce442d.tar.xz wireguard-linux-cffc2be30288786e242bceb9fedde4dfe6ce442d.zip |
regmap-irq: Cleanup sizeof(...) use in memory allocation
Instead of mentioning unsigned int directly, use a sizeof(...)
involving the buffer we're allocating to ensure the types don't
get out of sync.
Signed-off-by: Aidan MacDonald <aidanmacdonald.0x0@gmail.com>
Link: https://lore.kernel.org/r/20220623211420.918875-4-aidanmacdonald.0x0@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/regmap.h')
0 files changed, 0 insertions, 0 deletions