1
0
Fork 0

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

This field can never be negative.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
hifive-unleashed-5.1
Bartosz Golaszewski 2019-01-18 18:08:59 +01:00
parent d51ee07a8d
commit 83336668b9
1 changed files with 1 additions and 1 deletions

View File

@ -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];