Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1490584
| Path | csiph.com!aioe.org!gothmog.csi.it!bofh.it!news.nic.it!robomod |
|---|---|
| From | arvind Yadav <arvind.yadav.cs@gmail.com> |
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH V3] clocksource/timer-imx-gpt: Preventing resource leakage in error case. |
| Date | Sat, 24 Sep 2016 09:50:01 +0200 |
| Message-ID | <skPSF-6AA-5@gated-at.bofh.it> (permalink) |
| References | <skxj4-38t-27@gated-at.bofh.it> <skBPI-6j6-37@gated-at.bofh.it> |
| X-Original-To | Thomas Gleixner <tglx@linutronix.de> |
| Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=jc+5fsYi7cF0+ejcKcHQhpAhzSITkeHnpvJsYh/56WY=; b=WXkh6DY3vOKFlbqrb5cBJQcoQ4QhGC9DO+2FE2KJcBFU3oIzfYjqqqJ57YWHdXioYz io/0OM1rxewvwBYHwIQHjD/NeLLVlXe2GszHdOzQqsDbhuHBuE/hY3pG9JZcsx3duB7K M12AC/vt9WISJaeif40AZGT3wDVEsIc3WCv1ZLJDVGH5BZGkF/kv+gxx9oBVVHs+KA9U 8So9H5oZ2hWd065zrtI+L2bHiA23hGU7264/d04pC7+0V7u7ME7X9lUVcfd9qlFCFHMk eaoMQga5zjr2l26rmAolkUVqwPDyu69jC13yZnYB5VNGz14T46XgABN2RCdtNmNgJug0 oKHQ== |
| X-Google-Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=jc+5fsYi7cF0+ejcKcHQhpAhzSITkeHnpvJsYh/56WY=; b=G4+wKTtN+yRdAfssQYE/4bS7U8i13lV+R1ie0o6Y499rWu9Gh5HsFHFjdGBMhOQnwP hMC/qraRsYz65TmFXObbrFW7vVP0yZBKLbKR45wIqfz4NsmIGbYIRktVANlOpVBVTafE oKfqPFdJyfcSAd8ZC6pLjF5QMlGaOyRkiLelDcf+H/K4FhamQDcUK2wMCpBCP2vU4DNk TCz5x0PUzmkrYDWVff/4U7YFuSex/oJUfOdqyvaFzc8vxXueEKdMnDiNpy86HkoRpsQs CalXy3DjxuQZ7H8mPFtzgYuDP7fmpt+HzJOWwRUSy0EiQjMkMv5AihCy47hrNWqdkQXx /kdw== |
| X-Gm-Message-State | AE9vXwObxnS4a8kM+96R9vQVY8zSR1nt/hG/Yt7guWUoiUAqV6sYtDhpDa6xOR5T5NVpSQ== |
| X-Received | by 10.98.157.83 with SMTP id i80mr19697625pfd.162.1474702824454; Sat, 24 Sep 2016 00:40:24 -0700 (PDT) |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=windows-1252; format=flowed |
| Content-Transfer-Encoding | 7bit |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 41 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | baohua@kernel.org, daniel.lezcano@linaro.org, LKML <linux-kernel@vger.kernel.org> |
| X-Original-Date | Sat, 24 Sep 2016 13:10:19 +0530 |
| X-Original-Message-ID | <dc7aa0af-8788-2159-8f87-5810e88aead1@gmail.com> |
| X-Original-References | <1474631874-5777-1-git-send-email-arvind.yadav.cs@gmail.com> <alpine.DEB.2.20.1609231831170.5640@nanos> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1490584 |
Show key headers only | View raw
Thanks for help and suggestion.
I am looking 'Documentation/SubmittingPatches'.
Thanks
-Arvind Yadav
On Friday 23 September 2016 10:11 PM, Thomas Gleixner wrote:
> On Fri, 23 Sep 2016, Arvind Yadav wrote:
>
> So last time (V2) you had a almost perfect subject line:
>
> clocksrouce/timer-imz-gpt: Prevent resource leaks in error path
>
> The only issue was the clocksrcouce typo. Now you made it:
>
> clocksource/timer-imx-gpt: Preventing resource leakage in error case.
>
> Documentation/SubmittingPatches says:
>
> Describe your changes in imperative mood ... as if you are giving orders
> to the codebase to change its behaviour.
>
> "Preventing" is not imperative and the above is not a proper sentence,
> while the V2 one is.
>
>> ret = _mxc_timer_init(imxtm);
>> - if (ret)
>> - return ret;
>> + if (ret) {
>> + goto error_iounmap;
>> + }
> Further Documentation/SubmittingPatches also tells you which tools to use
> _before_ submission. If you'd used them then the above change would look
> different. You surely can figure that out yourself.
>
> Thanks,
>
> tglx
>
>
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
Re: [PATCH V3] clocksource/timer-imx-gpt: Preventing resource leakage in error case. Thomas Gleixner <tglx@linutronix.de> - 2016-09-23 18:50 +0200 Re: [PATCH V3] clocksource/timer-imx-gpt: Preventing resource leakage in error case. arvind Yadav <arvind.yadav.cs@gmail.com> - 2016-09-24 09:50 +0200
csiph-web