All of lore.kernel.org
 help / color / mirror / Atom feed
From: "'Greg Kroah-Hartman'" <gregkh@linuxfoundation.org>
To: Jingoo Han <jg1.han@samsung.com>
Cc: linux-kernel@vger.kernel.org, "'Lidza Louina'" <lidza.louina@gmail.com>
Subject: Re: [PATCH 2/3] staging: dgnc: Remove casting the return value which is a void pointer
Date: Wed, 25 Sep 2013 16:04:30 -0700	[thread overview]
Message-ID: <20130925230430.GA4906@kroah.com> (raw)
In-Reply-To: <004901cead1c$14c97680$3e5c6380$%han@samsung.com>

On Mon, Sep 09, 2013 at 02:18:55PM +0900, Jingoo Han wrote:
> Casting the return value which is a void pointer is redundant.
> The conversion from void pointer to any other pointer type is
> guaranteed by the C programming language.
> 
> Signed-off-by: Jingoo Han <jg1.han@samsung.com>
> ---
>  drivers/staging/dgnc/dgnc_driver.c |    4 ++--
>  drivers/staging/dgnc/dgnc_sysfs.c  |   22 +++++++++++-----------
>  2 files changed, 13 insertions(+), 13 deletions(-)

No longer applies, please refresh against the latest linux-next release.

thanks,

greg k-h

  reply	other threads:[~2013-09-25 23:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-09  5:17 [PATCH 1/3] staging: dgrp: Remove casting the return value which is a void pointer Jingoo Han
2013-09-09  5:18 ` [PATCH 2/3] staging: dgnc: " Jingoo Han
2013-09-25 23:04   ` 'Greg Kroah-Hartman' [this message]
2013-09-09  5:19 ` [PATCH 3/3] staging: dgap: " Jingoo Han

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=20130925230430.GA4906@kroah.com \
    --to=gregkh@linuxfoundation.org \
    --cc=jg1.han@samsung.com \
    --cc=lidza.louina@gmail.com \
    --cc=linux-kernel@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.