From: Julia Lawall <julia.lawall@lip6.fr>
To: Alexandre Courbot <gnurou@gmail.com>
Cc: Linus Walleij <linus.walleij@linaro.org>,
kernel-janitors@vger.kernel.org, linux-ia64@vger.kernel.org,
ceph-devel@vger.kernel.org, toralf.foerster@gmx.de,
hmh@hmh.eng.br,
"linux-gpio@vger.kernel.org" <linux-gpio@vger.kernel.org>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 6/9] gpiolib: devres: use correct structure type name in sizeof
Date: Wed, 30 Jul 2014 08:48:43 +0000 [thread overview]
Message-ID: <alpine.DEB.2.10.1407301048170.2389@hadrien> (raw)
In-Reply-To: <CAAVeFuLZb3CVV6B771V3-mzYdp0zsxaBfAAdikQDMBxSZTPTjA@mail.gmail.com>
On Wed, 30 Jul 2014, Alexandre Courbot wrote:
> On Wed, Jul 30, 2014 at 12:16 AM, Julia Lawall <Julia.Lawall@lip6.fr> wrote:
> > From: Julia Lawall <Julia.Lawall@lip6.fr>
> >
> > Correct typo in the name of the type given to sizeof. Because it is the
> > size of a pointer that is wanted, the typo has no impact on compilation or
> > execution.
> >
> > This problem was found using Coccinelle (http://coccinelle.lip6.fr/). The
> > semantic patch used can be found in message 0 of this patch series.
>
> Acked-by: Alexandre Courbot <acourbot@nvidia.com>
>
> Interestingly the compiler never complains despite gpiod_desc not
> being a declared type...
The compiler doesn't care. A pointer is a pointer, regardless of the
type.
julia
next prev parent reply other threads:[~2014-07-30 8:48 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-29 15:16 [PATCH 0/9] use correct structure type name in sizeof Julia Lawall
2014-07-29 15:16 ` [PATCH 1/9] drivers/staging/media/davinci_vpfe/vpfe_mc_capture.c: use correct structure type name in Julia Lawall
2015-11-09 20:48 ` [PATCH 1/9] drivers/staging/media/davinci_vpfe/vpfe_mc_capture.c: use correct structure type nam Laurent Pinchart
2014-07-29 15:16 ` [PATCH 2/9] CAPI: use correct structure type name in sizeof Julia Lawall
2014-07-31 2:14 ` David Miller
2014-07-29 15:16 ` [PATCH 3/9] i40e: " Julia Lawall
2014-07-29 20:22 ` Brown, Aaron F
2014-07-31 2:14 ` David Miller
2014-07-29 15:16 ` [PATCH 4/9] reiserfs: " Julia Lawall
2014-07-29 15:16 ` [PATCH 5/9] scsi: " Julia Lawall
2014-07-29 15:16 ` [PATCH 6/9] gpiolib: devres: " Julia Lawall
2014-07-30 8:27 ` Alexandre Courbot
2014-07-30 8:48 ` Julia Lawall [this message]
2014-08-08 13:26 ` Linus Walleij
2014-07-29 15:16 ` [PATCH 7/9] scsi: " Julia Lawall
2014-07-29 15:16 ` [PATCH 8/9] iwlegacy: " Julia Lawall
2014-07-29 15:16 ` [PATCH 9/9] uwb/whci: " Julia Lawall
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=alpine.DEB.2.10.1407301048170.2389@hadrien \
--to=julia.lawall@lip6.fr \
--cc=ceph-devel@vger.kernel.org \
--cc=gnurou@gmail.com \
--cc=hmh@hmh.eng.br \
--cc=kernel-janitors@vger.kernel.org \
--cc=linus.walleij@linaro.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-ia64@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=toralf.foerster@gmx.de \
/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