From: Chanwoo Choi <cw00.choi@samsung.com>
To: Sachin Kamat <sachin.kamat@linaro.org>
Cc: linux-kernel@vger.kernel.org, myungjoo.ham@samsung.com,
patches@linaro.org
Subject: Re: [PATCH 3/7] extcon: Fix return value in extcon-class.c
Date: Tue, 20 Nov 2012 16:54:26 +0900 [thread overview]
Message-ID: <50AB3732.5050507@samsung.com> (raw)
In-Reply-To: <1353388963-23761-4-git-send-email-sachin.kamat@linaro.org>
On 11/20/2012 02:22 PM, Sachin Kamat wrote:
> Return the value obtained from the function extcon_register_interest
> instead of -EINVAL.
>
> Silences the following warning:
> drivers/extcon/extcon-class.c:475 extcon_register_interest() info:
> why not propagate 'obj->cable_index' from extcon_find_cable_index()
> instead of -22?
>
> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
> ---
I consolidate following two patches because of similar patch.
extcon: Fix return value in extcon-class.c
extcon: Redo: Fix return value in extcon_register_interest()
Thank you,
Chanwoo Choi
next prev parent reply other threads:[~2012-11-20 7:54 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-20 5:22 [PATCH 0/7] extcon: Fixes and code updates Sachin Kamat
2012-11-20 5:22 ` [PATCH 1/7] extcon: max8997: Fix checkpatch error Sachin Kamat
2012-11-20 5:22 ` [PATCH 2/7] extcon: max8997: Fix a typo Sachin Kamat
2012-11-20 5:22 ` [PATCH 3/7] extcon: Fix return value in extcon-class.c Sachin Kamat
2012-11-20 7:54 ` Chanwoo Choi [this message]
2012-11-20 8:03 ` Sachin Kamat
2012-11-20 5:22 ` [PATCH 4/7] extcon: max8997: Fix incorrect error check and return value Sachin Kamat
2012-11-20 5:22 ` [PATCH 5/7] extcon: max77693: " Sachin Kamat
2012-11-20 5:22 ` [PATCH 6/7] extcon: max8997: Use devm_kzalloc Sachin Kamat
2012-11-20 5:22 ` [PATCH 7/7] extcon: max77693: " Sachin Kamat
2012-11-20 7:54 ` [PATCH 0/7] extcon: Fixes and code updates Chanwoo Choi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=50AB3732.5050507@samsung.com \
--to=cw00.choi@samsung.com \
--cc=linux-kernel@vger.kernel.org \
--cc=myungjoo.ham@samsung.com \
--cc=patches@linaro.org \
--cc=sachin.kamat@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox