From: Dan Carpenter <dan.carpenter@oracle.com>
To: Paul Menzel <paulepanter@users.sourceforge.net>
Cc: kernel-janitors@vger.kernel.org, Ben Skeggs <bskeggs@redhat.com>,
dri-devel@lists.freedesktop.org
Subject: Re: [patch] drm/nouveau/disp: sizeof() wrong pointer
Date: Wed, 23 Jan 2013 08:38:37 +0000 [thread overview]
Message-ID: <20130123083837.GZ4584@mwanda> (raw)
In-Reply-To: <1358847745.17068.7.camel@mattotaupa>
On Tue, Jan 22, 2013 at 10:42:25AM +0100, Paul Menzel wrote:
>
> Did you find this by manual inspection or did you use some tool?
>
I found this because it caused a problem in a parser I was working
on but Sparse warns about "warning: expression using sizeof(void)".
It's sort of hard to run Sparse on nouveau because you can't build
the individual .o files.
$ kchecker --sparse drivers/gpu/drm/nouveau/core/engine/disp/nv50.c
make[1]: Nothing to be done for `all'.
make[1]: Nothing to be done for `relocs'.
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
CALL scripts/checksyscalls.sh
<stdin>:1223:2: warning: #warning syscall finit_module not implemented [-Wcpp]
scripts/Makefile.build:44: /home/dcarpenter/progs/kernel/devel/drivers/gpu/drm/nouveau/core/engine/disp/Makefile: No such file or directory
make[1]: *** No rule to make target `/home/dcarpenter/progs/kernel/devel/drivers/gpu/drm/nouveau/core/engine/disp/Makefile'. Stop.
make: *** [drivers/gpu/drm/nouveau/core/engine/disp/nv50.o] Error 2
regards,
dan carpenter
next prev parent reply other threads:[~2013-01-23 8:38 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-22 7:20 [patch] drm/nouveau/disp: sizeof() wrong pointer Dan Carpenter
2013-01-22 9:42 ` Paul Menzel
2013-01-23 8:27 ` [patch v2] " Dan Carpenter
2013-01-23 8:38 ` Dan Carpenter [this message]
2013-01-23 11:36 ` [patch] " Bernd Petrovitsch
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=20130123083837.GZ4584@mwanda \
--to=dan.carpenter@oracle.com \
--cc=bskeggs@redhat.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=kernel-janitors@vger.kernel.org \
--cc=paulepanter@users.sourceforge.net \
/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