From: Paul Menzel <paulepanter@users.sourceforge.net>
To: Dan Carpenter <dan.carpenter@oracle.com>
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: Tue, 22 Jan 2013 09:42:25 +0000 [thread overview]
Message-ID: <1358847745.17068.7.camel@mattotaupa> (raw)
In-Reply-To: <20130122072022.GB8966@elgon.mountain>
[-- Attachment #1: Type: text/plain, Size: 524 bytes --]
Dear Dan,
Am Dienstag, den 22.01.2013, 10:20 +0300 schrieb Dan Carpenter:
> "data" is a void pointer and "args" is "data" after we have casted it to
> a struct. We care about the sizeof the struct here. Btw, sizeof(*data)
s,sizeof the,size of the,
> is 1.
Did you find this by manual inspection or did you use some tool?
> Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
[…]
With the typo fixed above,
Acked-by: Paul Menzel <paulepanter@users.sourceforge.net>
Thanks,
Paul
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2013-01-22 9:42 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 [this message]
2013-01-23 8:27 ` [patch v2] " Dan Carpenter
2013-01-23 8:38 ` [patch] " Dan Carpenter
2013-01-23 11:36 ` 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=1358847745.17068.7.camel@mattotaupa \
--to=paulepanter@users.sourceforge.net \
--cc=bskeggs@redhat.com \
--cc=dan.carpenter@oracle.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=kernel-janitors@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox