lkml.org 
[lkml]   [2009]   [Sep]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/8] arch/mips/txx9: introduce missing kfree, iounmap
> +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


\
 
 \ /
  Last update: 2009-09-15 07:07    [W:0.090 / U:1.464 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site