提交 83336668 编写于 作者: B Bartosz Golaszewski

gpio: mockup: change the type of 'offset' to unsigned int

This field can never be negative.
Signed-off-by: NBartosz Golaszewski <bgolaszewski@baylibre.com>
上级 d51ee07a
......@@ -60,7 +60,7 @@ struct gpio_mockup_chip {
struct gpio_mockup_dbgfs_private {
struct gpio_mockup_chip *chip;
struct gpio_desc *desc;
int offset;
unsigned int offset;
};
static int gpio_mockup_ranges[GPIO_MOCKUP_MAX_RANGES];
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册