From: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
To: Hariprasad Kelam <hariprasad.kelam@gmail.com>,
Felipe Balbi <balbi@kernel.org>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] USB: gadget: function: fix issue Unneeded variable: "value"
Date: Mon, 1 Jul 2019 21:22:10 +0300 [thread overview]
Message-ID: <746df16a-0e8d-bae7-36ff-5827610dfd99@cogentembedded.com> (raw)
In-Reply-To: <20190701182031.GA10455@hari-Inspiron-1545>
Hello!
On 07/01/2019 09:20 PM, Hariprasad Kelam wrote:
> fix below issue reported by coccicheck
> drivers/usb/gadget/function/f_eem.c:169:7-12: Unneeded variable:
> "value". Return "- EOPNOTSUPP" on line 179
>
> We can not change return type of eem_setup as its registed with callback
Registered.
> function
>
> Signed-off-by: Hariprasad Kelam <hariprasad.kelam@gmail.com>
[...]
MBR, Sergei
prev parent reply other threads:[~2019-07-01 18:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-01 18:20 Hariprasad Kelam
2019-07-01 18:22 ` Sergei Shtylyov [this message]
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=746df16a-0e8d-bae7-36ff-5827610dfd99@cogentembedded.com \
--to=sergei.shtylyov@cogentembedded.com \
--cc=balbi@kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=hariprasad.kelam@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.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
all inboxes | Powered by JetHome®