[prev in list] [next in list] [prev in thread] [next in thread]
List: kernel-janitors
Subject: Re: powerpc: remapping too much memory
From: Michael Ellerman <patch-notifications () ellerman ! id ! au>
Date: 2017-08-31 11:36:05
Message-ID: 3xjgLF5Q9Lz9t2W () ozlabs ! org
[Download RAW message or body]
On Wed, 2017-06-28 at 11:49:07 UTC, Dan Carpenter wrote:
> There is a cut and paste error here so we use "sizeof(struct mpc83xx_pmc)"
> to remap the memory for "clock_regs". That sizeof() is 20 bytes and we
> only need to remap 12 bytes. It presumably doesn't affect run time too
> much...
>
> I changed them to both use "sizeof(*variable_name)" because that's the
> prefered kernel style these days.
>
> Fixes: d49747bdfb2d ("powerpc/mpc83xx: Power Management support")
> Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/c65540453e150844367ffe98e45d51
cheers
--
To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic