Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 28ee793e authored by Felipe Contreras's avatar Felipe Contreras Committed by Tony Lindgren
Browse files

ARM: OMAP: fix trivial warnings for dspbridge



arch/arm/plat-omap/devices.c: In function 'omap_dsp_reserve_sdram_memblock':
arch/arm/plat-omap/devices.c:170: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'phys_addr_t'
arch/arm/mach-omap2/dsp.c: In function 'omap_dsp_init':
arch/arm/mach-omap2/dsp.c:60: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'phys_addr_t'
arch/arm/mach-omap2/dsp.c:60: warning: format '%x' expects type 'unsigned int', but argument 4 has type 'phys_addr_t'

Signed-off-by: default avatarFelipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 1ee47b0a
Loading
Loading
Loading
Loading
+3 −2
Original line number Original line Diff line number Diff line
@@ -57,8 +57,9 @@ static int __init omap_dsp_init(void)


	if (pdata->phys_mempool_base) {
	if (pdata->phys_mempool_base) {
		pdata->phys_mempool_size = CONFIG_TIDSPBRIDGE_MEMPOOL_SIZE;
		pdata->phys_mempool_size = CONFIG_TIDSPBRIDGE_MEMPOOL_SIZE;
		pr_info("%s: %x bytes @ %x\n", __func__,
		pr_info("%s: %llx bytes @ %llx\n", __func__,
			pdata->phys_mempool_size, pdata->phys_mempool_base);
			(unsigned long long)pdata->phys_mempool_size,
			(unsigned long long)pdata->phys_mempool_base);
	}
	}


	pdev = platform_device_alloc("omap-dsp", -1);
	pdev = platform_device_alloc("omap-dsp", -1);
+2 −2
Original line number Original line Diff line number Diff line
@@ -167,8 +167,8 @@ void __init omap_dsp_reserve_sdram_memblock(void)


	paddr = arm_memblock_steal(size, SZ_1M);
	paddr = arm_memblock_steal(size, SZ_1M);
	if (!paddr) {
	if (!paddr) {
		pr_err("%s: failed to reserve %x bytes\n",
		pr_err("%s: failed to reserve %llx bytes\n",
				__func__, size);
				__func__, (unsigned long long)size);
		return;
		return;
	}
	}