From: Greg KH <gregkh@linuxfoundation.org>
To: "Dean.lee" <dean.lee@atmel.com>
Cc: devel@driverdev.osuosl.org, rachel.kim@atmel.com,
chris.park@atmel.com, linux-wireless@vger.kernel.org,
johnny.kim@atmel.com
Subject: Re: [PATCH] staging: wilc1000: modify odd print message
Date: Thu, 11 Jun 2015 07:47:58 -0700 [thread overview]
Message-ID: <20150611144758.GA3671@kroah.com> (raw)
In-Reply-To: <5579140C.9070905@atmel.com>
On Thu, Jun 11, 2015 at 01:52:28PM +0900, Dean.lee wrote:
>
>
> On 2015년 06월 11일 12:50, Greg KH wrote:
> >On Thu, Jun 11, 2015 at 12:44:24PM +0900, Dean Lee wrote:
> >>This driver has odd message in print string.
> >>So this patch removes the data type.
> >>
> >>Signed-off-by: Dean Lee <dean.lee@atmel.com>
> >>---
> >> drivers/staging/wilc1000/host_interface.c | 3 +--
> >> 1 file changed, 1 insertion(+), 2 deletions(-)
> >>
> >>diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c
> >>index 1ecb373..9e055c4 100644
> >>--- a/drivers/staging/wilc1000/host_interface.c
> >>+++ b/drivers/staging/wilc1000/host_interface.c
> >>@@ -703,7 +703,7 @@ static WILC_Sint32 Handle_SetOperationMode(void *drvHandler, tstrHostIfSetOperat
> >> strWID.s32ValueSize = sizeof(WILC_Uint32);
> >> /*Sending Cfg*/
> >>- PRINT_INFO(HOSTINF_DBG, "(size_t)pstrWFIDrv= %p \n", pstrWFIDrv);
> >>+ PRINT_INFO(HOSTINF_DBG, "pstrWFIDrv= %p \n", pstrWFIDrv);
> >Why are you printing a kernel pointer to userspace always? That's not a
> >good idea, why not just delete this line, how useful is it?
> >
> >thanks,
> >
> >greg k-h
> we need this line for deep level debugging.
> sometime we need check and compare pointer value.
Really, even at this stage of development for the code?
> but we have plan for rework print message.
> delete unused & not required print message.
Good, all of them need to be reworked.
thanks,
greg k-h
prev parent reply other threads:[~2015-06-11 14:47 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-11 3:44 [PATCH] staging: wilc1000: modify odd print message Dean Lee
2015-06-11 3:50 ` Greg KH
[not found] ` <5579140C.9070905@atmel.com>
2015-06-11 14:47 ` Greg KH [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=20150611144758.GA3671@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=chris.park@atmel.com \
--cc=dean.lee@atmel.com \
--cc=devel@driverdev.osuosl.org \
--cc=johnny.kim@atmel.com \
--cc=linux-wireless@vger.kernel.org \
--cc=rachel.kim@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).