linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Javi Merino <javi.merino@arm.com>
To: edubezval@gmail.com, Zhang Rui <rui.zhang@intel.com>
Cc: dan.carpenter@oracle.com, linux-pm@vger.kernel.org
Subject: Re: [PATCH RESEND] thermal: power_allocator: req_range multiplication should be a 64 bit type
Date: Wed, 13 Jan 2016 16:10:25 +0000	[thread overview]
Message-ID: <20160113161024.GD2594@e104805> (raw)
In-Reply-To: <20151219134958.GB2594@e104805>

On Sat, Dec 19, 2015 at 01:49:58PM +0000, Javi Merino wrote:
> Eduardo, Rui,
> 
> On Tue, Dec 01, 2015 at 03:15:23PM +0000, Javi Merino wrote:
> > req_range is declared as a u64 to cope with overflows in the
> > multiplication of two u32.  As both req_power and power_range are u32,
> > we need to make sure the multiplication is done with u64 types.
> > 
> > Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
> > Cc: Zhang Rui <rui.zhang@intel.com>
> > Cc: Eduardo Valentin <edubezval@gmail.com>
> > Signed-off-by: Javi Merino <javi.merino@arm.com>
> > ---
> >  drivers/thermal/power_allocator.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> Any comments on this?  If not, can it be merged?

If there are no objections, can this be merged?

Thanks,
Javi

      reply	other threads:[~2016-01-13 16:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-01 15:15 [PATCH RESEND] thermal: power_allocator: req_range multiplication should be a 64 bit type Javi Merino
2015-12-19 13:49 ` Javi Merino
2016-01-13 16:10   ` Javi Merino [this message]

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=20160113161024.GD2594@e104805 \
    --to=javi.merino@arm.com \
    --cc=dan.carpenter@oracle.com \
    --cc=edubezval@gmail.com \
    --cc=linux-pm@vger.kernel.org \
    --cc=rui.zhang@intel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).