Commit 83336668 authored by Bartosz Golaszewski's avatar Bartosz Golaszewski
Browse files

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

This field can never be negative.

Signed-off-by: default avatarBartosz Golaszewski <>
parent 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];
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment