From: Sergei Shtylyov <sergei.shtylyov@cogentembedded•com>
To: Jingoo Han <jg1.han@samsung•com>
Cc: "'David S. Miller'" <davem@davemloft•net>, netdev@vger•kernel.org
Subject: Re: [PATCH] net: netx-eth: remove unnecessary casting when using dev_get_platdata()
Date: Tue, 03 Sep 2013 01:01:03 +0400 [thread overview]
Message-ID: <5224FC8F.4080103@cogentembedded.com> (raw)
In-Reply-To: <004b01cea774$975b48b0$c611da10$%han@samsung.com>
Hello.
On 09/02/2013 04:37 AM, Jingoo Han wrote:
> Casting from 'void *' is unnecessary when using dev_get_platdata().
dev_get_platdata() is irrelevant here. Casting from/to 'void *' to/from
any pointer type is just automatic.
> Reported-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded•com>
> Signed-off-by: Jingoo Han <jg1.han@samsung•com>
WBR, Sergei
next prev parent reply other threads:[~2013-09-02 21:01 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-02 0:37 [PATCH] net: netx-eth: remove unnecessary casting when using dev_get_platdata() Jingoo Han
2013-09-02 21:01 ` Sergei Shtylyov [this message]
2013-09-02 23:54 ` [PATCH V2] net: netx-eth: remove unnecessary casting Jingoo Han
2013-09-04 4:53 ` David Miller
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=5224FC8F.4080103@cogentembedded.com \
--to=sergei.shtylyov@cogentembedded$(echo .)com \
--cc=davem@davemloft$(echo .)net \
--cc=jg1.han@samsung$(echo .)com \
--cc=netdev@vger$(echo .)kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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