[PATCH 2/4] simplefb: add goto error path to probe

Luc Verhaegen libv at skynet.be
Thu Aug 14 03:42:08 PDT 2014


On Thu, Aug 14, 2014 at 12:33:55PM +0200, David Herrmann wrote:
> Hi
> 
> I'd skip the leading whitespace and the newlines, like this:
> 
> +error_unmap:
> +        iounmap(info->screen_base);
> +error_fb_release:
> +        framebuffer_release(info);
> +        return ret;
> 
> at least that's my conception how we format error paths in drivers/video/.

Will do. Thanks.

Luc Verhaegen.



More information about the linux-arm-kernel mailing list