Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

reset: amlogic: make parameters unsigned

register count and offset cannot be negative. Use unsigned integer
for this.

Suggested-by: Stephen Boyd <sboyd@kernel.org>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
Link: https://lore.kernel.org/r/20240910-meson-rst-aux-v5-3-60be62635d3e@baylibre.com
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>

authored by

Jerome Brunet and committed by
Philipp Zabel
ee649986 58d1d138

+2 -2
+2 -2
drivers/reset/reset-meson.c
··· 17 17 #include <linux/types.h> 18 18 19 19 struct meson_reset_param { 20 - int reg_count; 21 - int level_offset; 20 + unsigned int reg_count; 21 + unsigned int level_offset; 22 22 }; 23 23 24 24 struct meson_reset {