Re: [PATCH 1/8] arch/mips/txx9: introduce missing kfree, iounmap

From: Julia Lawall
Date: Tue Sep 15 2009 - 01:03:55 EST


> +out_pdev:
> + platform_device_put(pdev);
> +out_gpio:
> + gpio_remove(&iocled->chip);

I just noticed that the prototype of gpio_remove has __must_check
I don't think there is anything to check here; since the thing is not
fully initialized here, it is unlikely to be busy. Should there be (void)
in front of it?

julia
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/