[PATCH] smem: msm: add missing <linux/sizes.h>

Tom Rini trini at konsulko.com
Wed Oct 12 21:14:29 CEST 2022


On Fri, Oct 07, 2022 at 11:52:44AM +0200, Robert Marko wrote:

> MSM SMEM driver is currently missing <linux/sizes.h> header and throws
> the following compile error:
> 
> drivers/smem/msm_smem.c: In function ‘qcom_smem_get_ptable’:
> drivers/smem/msm_smem.c:635:71: error: ‘SZ_4K’ undeclared (first use in this function)
>   635 |         ptable = smem->regions[0].virt_base + smem->regions[0].size - SZ_4K;
> 
> Signed-off-by: Robert Marko <robert.marko at sartura.hr>
> Cc: luka.perkov at sartura.hr

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20221012/1388c815/attachment.sig>


More information about the U-Boot mailing list