From: Dan Carpenter <dan.carpenter@oracle.com>
To: Seunghun Lee <waydi1@gmail.com>
Cc: gregkh@linuxfoundation.org, devel@driverdev.osuosl.org,
alois.schloegl@gmail.com, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] staging: ced1401: fix sparse warning for ced1401
Date: Mon, 16 Jun 2014 11:17:19 +0300 [thread overview]
Message-ID: <20140616081718.GD5500@mwanda> (raw)
In-Reply-To: <1402722278-23040-1-git-send-email-waydi1@gmail.com>
On Sat, Jun 14, 2014 at 02:04:38PM +0900, Seunghun Lee wrote:
> This patch fixes below warning.
>
> drivers/staging/ced1401/ced_ioc.c:703:30: warning: incorrect type in assignment (different address spaces)
> drivers/staging/ced1401/ced_ioc.c:703:30: expected void *[usertype] lpvBuff
> drivers/staging/ced1401/ced_ioc.c:703:30: got char [noderef] <asn:1>*puBuf
>
> Signed-off-by: Seunghun Lee <waydi1@gmail.com>
No. This silences the warning by disabling Sparse.
Fix the annotations instead.
regards,
dan carpenter
next prev parent reply other threads:[~2014-06-16 8:17 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-14 5:04 [PATCH] staging: ced1401: fix sparse warning for ced1401 Seunghun Lee
2014-06-14 14:35 ` Greg KH
2014-06-16 8:17 ` Dan Carpenter [this message]
2014-06-19 5:14 ` Greg KH
-- strict thread matches above, loose matches on Subject: below --
2014-06-22 14:38 Seunghun Lee
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=20140616081718.GD5500@mwanda \
--to=dan.carpenter@oracle.com \
--cc=alois.schloegl@gmail.com \
--cc=devel@driverdev.osuosl.org \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=waydi1@gmail.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 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.