--- drivers/media/i2c/max9286.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/i2c/max9286.c b/drivers/media/i2c/max9286.c index cb327c030081..ab84f0fa66dc 100644 --- a/drivers/media/i2c/max9286.c +++ b/drivers/media/i2c/max9286.c @@ -912,7 +912,7 @@ static int max9286_gpio_get(struct gpio_chip *chip, unsigned int offset) struct max9286_priv *priv = gpiochip_get_data(chip); dev_err(&priv->client->dev, - "GPIOSET: Offset %d, Value %d gpio_state = 0x%lx", + "GPIOSET: Offset %d, Value %ld gpio_state = 0x%lx", offset, priv->gpio_state & BIT(offset), MAX9286_0X0F_RESERVED | priv->gpio_state); -- 2.24.0