mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 14:11:52 +00:00
gpio: mockup: change the type of 'offset' to unsigned int
This field can never be negative. Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
This commit is contained in:
parent
d51ee07a8d
commit
83336668b9
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user