From: "Kamal Dasu" <kamal.dasu@broadcom.com>
To: 'Wolfram Sang' <wsa@the-dreams.de>, linux-i2c@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org
Subject: RE: [PATCH] i2c: brcmstb: allocate correct amount of memory for regmap
Date: Thu, 25 Feb 2016 15:08:03 -0500 [thread overview]
Message-ID: <270d201d17008$3cae24f0$b60a6ed0$@broadcom.com> (raw)
In-Reply-To: <56CB3A8A.9040401@gmail.com>
> We want the size of the struct, not of a pointer to it. To be future
> proof, just dereference the pointer to get the desired type.
Thanks for catching and fixing this.
>
> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Reviewed-by: Kamal Dasu <kdasu.kdev@gmail.com>
Kamal
WARNING: multiple messages have this Message-ID (diff)
From: kamal.dasu@broadcom.com (Kamal Dasu)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] i2c: brcmstb: allocate correct amount of memory for regmap
Date: Thu, 25 Feb 2016 15:08:03 -0500 [thread overview]
Message-ID: <270d201d17008$3cae24f0$b60a6ed0$@broadcom.com> (raw)
In-Reply-To: <56CB3A8A.9040401@gmail.com>
> We want the size of the struct, not of a pointer to it. To be future
> proof, just dereference the pointer to get the desired type.
Thanks for catching and fixing this.
>
> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Reviewed-by: Kamal Dasu <kdasu.kdev@gmail.com>
Kamal
next prev parent reply other threads:[~2016-02-25 20:08 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-21 14:16 [PATCH] i2c: brcmstb: allocate correct amount of memory for regmap Wolfram Sang
2016-02-21 14:16 ` Wolfram Sang
2016-02-22 6:33 ` Gregory Fong
2016-02-22 6:33 ` Gregory Fong
2016-02-22 8:05 ` Wolfram Sang
2016-02-22 8:05 ` Wolfram Sang
2016-02-22 16:42 ` Florian Fainelli
2016-02-22 16:42 ` Florian Fainelli
2016-02-25 20:08 ` Kamal Dasu [this message]
2016-02-25 20:08 ` Kamal Dasu
2016-03-01 18:19 ` Wolfram Sang
2016-03-01 18:19 ` Wolfram Sang
-- strict thread matches above, loose matches on Subject: below --
2016-02-25 19:32 Kamal Dasu
2016-03-01 16:14 ` Kamal Dasu
2016-03-01 16:14 ` Kamal Dasu
2016-03-01 16:19 ` Wolfram Sang
2016-03-01 16:19 ` Wolfram Sang
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='270d201d17008$3cae24f0$b60a6ed0$@broadcom.com' \
--to=kamal.dasu@broadcom.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-i2c@vger.kernel.org \
--cc=wsa@the-dreams.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 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.