linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Johnny Kim <johnny.kim@atmel.com>
To: Greg KH <gregkh@linuxfoundation.org>
Cc: <devel@driverdev.osuosl.org>, <linux-wireless@vger.kernel.org>,
	<Rachel.kim@atmel.com>, <dean.lee@atmel.com>,
	<tony.cho@atmel.com>, <chris.park@atmel.com>
Subject: Re: [PATCH 1/4] staging: wilc1000: modify data type
Date: Thu, 11 Jun 2015 14:33:39 +0900	[thread overview]
Message-ID: <55791DB3.7080205@atmel.com> (raw)
In-Reply-To: <20150611004059.GA30902@kroah.com>


On 2015년 06월 11일 09:40, Greg KH wrote:
> On Wed, Jun 10, 2015 at 05:06:44PM +0900, Johnny Kim wrote:
>> -static int wilc_wlan_cfg_commit(int type, uint32_t drvHandler)
>> +static int wilc_wlan_cfg_commit(int type, size_t drvHandler)
> Shouldn't this just be a void *?  And if so, why not the real function
> pointer instead?
>
> Also, lots of these seem to be just pointers, please use a pointer
> instead of hiding it in a size_t as that's the most portable, and
> correct, way to do it.  No need to hide any function pointers here, this
> isn't Windows :)
>
> thanks,
>
> greg k-h

To replace the integer to the pointer as your counsel, I need a lot of
discussion internally. But I will fix the type and the related things
like your thinking.

I know there is the build warning for 64-bit machine and this driver stays
in BROKEN status on linux-next.
I want to know if the reason is 64bit build warning.

Thanks for your help.

Regards
Johnny

  reply	other threads:[~2015-06-11  5:33 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-10  8:06 [PATCH 0/4] staging: wilc1000: fix compile warnings and clean other Johnny Kim
2015-06-10  8:06 ` [PATCH 1/4] staging: wilc1000: modify data type Johnny Kim
2015-06-10  9:36   ` Dan Carpenter
2015-06-11  0:40   ` Greg KH
2015-06-11  5:33     ` Johnny Kim [this message]
2015-06-11 14:46       ` Greg KH
2015-06-10  8:06 ` [PATCH 2/4] staging: wilc1000: add syntax for 64-bit machine Johnny Kim
2015-06-10 10:12   ` Julian Calaby
2015-06-10 19:37   ` Greg KH
2015-06-10  8:06 ` [PATCH 3/4] staging: wilc1000: modify printk format Johnny Kim
2015-06-11  0:42   ` Greg KH
2015-06-10  8:06 ` [PATCH 4/4] staging: wilc1000: remove uninitialized warnings Johnny Kim

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=55791DB3.7080205@atmel.com \
    --to=johnny.kim@atmel.com \
    --cc=Rachel.kim@atmel.com \
    --cc=chris.park@atmel.com \
    --cc=dean.lee@atmel.com \
    --cc=devel@driverdev.osuosl.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=tony.cho@atmel.com \
    /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;
as well as URLs for NNTP newsgroup(s).