lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdaZZFL+1FC8cANAqkMZu8amkPyC5BDaxTF2Fnj2zpqn1Q@mail.gmail.com>
Date:	Fri, 28 Nov 2014 14:49:20 +0100
From:	Linus Walleij <linus.walleij@...aro.org>
To:	Sergei Shtylyov <sergei.shtylyov@...entembedded.com>
Cc:	Rojhalat Ibrahim <imr@...chenk.de>,
	"linux-gpio@...r.kernel.org" <linux-gpio@...r.kernel.org>,
	"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
	Alexandre Courbot <acourbot@...dia.com>,
	David Miller <davem@...emloft.net>,
	Florian Fainelli <f.fainelli@...il.com>,
	David Daney <david.daney@...ium.com>
Subject: Re: [PATCH][v2] mdio-mux-gpio: Use GPIO descriptor interface and new
 gpiod_set_array function

On Tue, Nov 25, 2014 at 2:44 PM, Sergei Shtylyov
<sergei.shtylyov@...entembedded.com> wrote:
> On 11/25/2014 12:31 PM, Rojhalat Ibrahim wrote:
> [...]
>>
>>   static int mdio_mux_gpio_remove(struct platform_device *pdev)
>>   {
>> +       unsigned int n;
>>         struct mdio_mux_gpio_state *s = dev_get_platdata(&pdev->dev);
>>         mdio_mux_uninit(s->mux_handle);
>> +       for (n = 0; n < s->num_gpios; n++) {
>> +               gpiod_put(s->gpio[n]);
>> +       }
>
>
>    {} not needed; scripts/checkpatch.pl should have complained...

Yep it complains so I fixed it up when applying the patch.

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ