X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Fbrcm2708%2Fpatches-4.19%2F950-0290-video-bcm2708_fb-Fix-warnings-on-64-bit-builds.patch;fp=target%2Flinux%2Fbrcm2708%2Fpatches-4.19%2F950-0290-video-bcm2708_fb-Fix-warnings-on-64-bit-builds.patch;h=0000000000000000000000000000000000000000;hb=84d555aa74434392b682fd9eb0fa701c89a046d6;hp=3c6dc09f091704d130d09c142836e2c7e7b3d5ff;hpb=953973c2991e8640549a55df7a0574a1abac8644;p=openwrt%2Fstaging%2Fwigyori.git diff --git a/target/linux/brcm2708/patches-4.19/950-0290-video-bcm2708_fb-Fix-warnings-on-64-bit-builds.patch b/target/linux/brcm2708/patches-4.19/950-0290-video-bcm2708_fb-Fix-warnings-on-64-bit-builds.patch deleted file mode 100644 index 3c6dc09f09..0000000000 --- a/target/linux/brcm2708/patches-4.19/950-0290-video-bcm2708_fb-Fix-warnings-on-64-bit-builds.patch +++ /dev/null @@ -1,46 +0,0 @@ -From ca128febc6abc040d747ddc0808fd203c135668e Mon Sep 17 00:00:00 2001 -From: Dave Stevenson -Date: Fri, 25 Jan 2019 17:11:39 +0000 -Subject: [PATCH] video: bcm2708_fb: Fix warnings on 64 bit builds - -Fix up logging lines where the wrong format specifiers were -being used. - -Signed-off-by: Dave Stevenson ---- - drivers/video/fbdev/bcm2708_fb.c | 10 ++++------ - 1 file changed, 4 insertions(+), 6 deletions(-) - ---- a/drivers/video/fbdev/bcm2708_fb.c -+++ b/drivers/video/fbdev/bcm2708_fb.c -@@ -513,8 +513,8 @@ static long vc_mem_copy(struct bcm2708_f - buf = dma_alloc_coherent(fb->fb.device, PAGE_ALIGN(size), &bus_addr, - GFP_ATOMIC); - if (!buf) { -- pr_err("[%s]: failed to dma_alloc_coherent(%d)\n", -- __func__, size); -+ pr_err("[%s]: failed to dma_alloc_coherent(%zd)\n", __func__, -+ size); - rc = -ENOMEM; - goto out; - } -@@ -910,8 +910,7 @@ static int bcm2708_fb_probe(struct platf - goto free_fb; - } - -- pr_info("BCM2708FB: allocated DMA memory %08x\n", -- fb->cb_handle); -+ pr_info("BCM2708FB: allocated DMA memory %pad\n", &fb->cb_handle); - - ret = bcm_dma_chan_alloc(BCM_DMA_FEATURE_BULK, - &fb->dma_chan_base, &fb->dma_irq); -@@ -929,8 +928,7 @@ static int bcm2708_fb_probe(struct platf - } - - -- pr_info("BCM2708FB: allocated DMA channel %d @ %p\n", -- fb->dma_chan, fb->dma_chan_base); -+ pr_info("BCM2708FB: allocated DMA channel %d\n", fb->dma_chan); - - fb->dev = dev; - fb->fb.device = &dev->dev;