From patchwork Thu Jan 16 14:56:50 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartlomiej Zolnierkiewicz X-Patchwork-Id: 11337221 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id C08D61820 for ; Thu, 16 Jan 2020 14:57:03 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9E394207E0 for ; Thu, 16 Jan 2020 14:57:03 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="O0/0Pjhi"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="F1MtKtSK" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9E394207E0 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=samsung.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:References:MIME-Version:Date:Message-ID :To:Subject:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: List-Owner; bh=i98NNvDIJZb3gOMSgWjvuU7rDCR2SaLhEKJWuCDuOrQ=; b=O0/0Pjhikm0gyQ lP/AEJL8dXU48TKByPprjlMdI27p1tOax2fhohPUJTUE+SAV3sHMuCqugiXxKCrZ9jO+IpCWWHsHv YCWnayawk8Oqn6IvGZr9loehxmpAjZUld4g+8kwts3ORWP5Omxfv4kvE1P0nz4nS4keRujEuQahgV 1CbnBVHnIJrWlpiLEI/mRXdSUem+TTdwnUuukV+Ock69sLsPuHmURtBgDm361T50gEjblilG4Cv3J xN6cVd27S+V4hQSag3JtL76y6BQ5LwBzI2PTtoNpU82flUb+QO36V8mxULyuHvRvDZTvOU1++aoco julClSVO9LU2UK/MJEzg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1is6Zy-0006Xc-Tt; Thu, 16 Jan 2020 14:57:02 +0000 Received: from mailout2.w1.samsung.com ([210.118.77.12]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1is6Zt-0006We-4a for linux-arm-kernel@lists.infradead.org; Thu, 16 Jan 2020 14:57:01 +0000 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20200116145654euoutp02ead4424efce17dad35e47c86e5d4d70c~qZdvNFJnr0280602806euoutp02k for ; Thu, 16 Jan 2020 14:56:54 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20200116145654euoutp02ead4424efce17dad35e47c86e5d4d70c~qZdvNFJnr0280602806euoutp02k DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1579186614; bh=gYFlVr9o/9ffDBMZ9X8ERiwufXV1iHNJKOICXMmjbf8=; h=From:Subject:To:Cc:Date:References:From; b=F1MtKtSKgKJuwct1s6wIGio/KDar53tCoaN3rDRW71bPR06I2sIzY+ZlbpNIuX5Uf dkujl7N/YAV0UJYNrlRhTQAK7AD1VyF2EweCNOhyXfj1rw8oEvrwSMqUs3Zo1Pv07r DRww05QuMyTa/G5Z4GMxBbb+gcLPROzXId5hfyog= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20200116145653eucas1p1e3e1189b5de9b64ca210a00c788f4796~qZduzuYES2220922209eucas1p1C; Thu, 16 Jan 2020 14:56:53 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id 15.D4.60698.5B9702E5; Thu, 16 Jan 2020 14:56:53 +0000 (GMT) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20200116145653eucas1p2222fb48dd6fe1023a4152e687ec577d5~qZdudwj-b1470514705eucas1p2H; Thu, 16 Jan 2020 14:56:53 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20200116145653eusmtrp1e452f405ef97ba250cae718242794690~qZdudAc4a1494014940eusmtrp1J; Thu, 16 Jan 2020 14:56:53 +0000 (GMT) X-AuditID: cbfec7f5-a0fff7000001ed1a-dc-5e2079b53320 Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 21.26.08375.5B9702E5; Thu, 16 Jan 2020 14:56:53 +0000 (GMT) Received: from [106.120.51.71] (unknown [106.120.51.71]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20200116145651eusmtip1054969a694e6110ad67cc935712ce6c6~qZdsknekg0369003690eusmtip1P; Thu, 16 Jan 2020 14:56:51 +0000 (GMT) From: Bartlomiej Zolnierkiewicz Subject: [PATCH 1/2] video: fbdev: wm8505fb: fix sparse warnings about using incorrect types To: linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Message-ID: <567cba81-5fec-4d91-f711-c0bdbfe5b513@samsung.com> Date: Thu, 16 Jan 2020 15:56:50 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 Content-Language: en-US X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrDKsWRmVeSWpSXmKPExsWy7djPc7pbKxXiDCbdlLe4te4cq8XGGetZ La58fc9msenxNVaLE30fWC0u75rDZtFyeQWzA7vH/e7jTB6bl9R7nP/fwu7Rt2UVo8fnTXIB rFFcNimpOZllqUX6dglcGbO//WIueMJWcWx9A2sD413WLkZODgkBE4muP/+BbC4OIYEVjBLr ft1hgnC+MEocPDGTGcL5zCjRcXQjXMus/lZ2iMRyRonDn/ZDVb1llDh/cAFYFZuAlcTE9lWM ILawQJzEp02fwIpEBNoYJb6uagBbwizQzCjxe8cLNpAqXgE7iaZzN8E6WARUJdZe6wazRQUi JD49OMwKUSMocXLmExYQm1lAXOLWk/lMELa8xPa3c8A2SAgsYpf4NP0/E8SxLhLtd9azQNjC Eq+Ob2GHsGUkTk/uYYFoWMco8bfjBVT3dkaJ5ZP/sUFUWUvcOfcLyOYAWqEpsX6XPogpIeAo Met6EITJJ3HjrSDEDXwSk7ZNZ4YI80p0tAlBzFCT2LBsAxvM1q6dK5khbA+Jzi0/mCYwKs5C 8tksJJ/NQvLZLIQTFjCyrGIUTy0tzk1PLTbOSy3XK07MLS7NS9dLzs/dxAhMQ6f/Hf+6g3Hf n6RDjAIcjEo8vB9CFOKEWBPLiitzDzFKcDArifCenCEbJ8SbklhZlVqUH19UmpNafIhRmoNF SZzXeNHLWCGB9MSS1OzU1ILUIpgsEwenVANjSEPONAOmDDPrxo7Nn7ovnLOYsD3i8VzniXUT t6sz7MuwfbNZ1nj6642s8znlJ7JP+D/lxOE502/Vzjv1PMrKNtjCqopH2uS72+1J5b8c/KTt hF44cIfOKip8p3/2QdYek9fe/7Ul9YV4L8+Z5jTnxuErAi2sZ+p4vxubrJjr8KWZX2ZTahW3 EktxRqKhFnNRcSIA+7aL+z8DAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrKIsWRmVeSWpSXmKPExsVy+t/xu7pbKxXiDP6c4rS4te4cq8XGGetZ La58fc9msenxNVaLE30fWC0u75rDZtFyeQWzA7vH/e7jTB6bl9R7nP/fwu7Rt2UVo8fnTXIB rFF6NkX5pSWpChn5xSW2StGGFkZ6hpYWekYmlnqGxuaxVkamSvp2NimpOZllqUX6dgl6GbO/ /WIueMJWcWx9A2sD413WLkZODgkBE4lZ/a3sXYxcHEICSxklmh+0sXQxcgAlZCSOry+DqBGW +HOtiw2i5jWjxOZZm9hBEmwCVhIT21cxgtjCAnESnzZ9YgYpEhFoY5SYv+UFI4jDLNDMKHFn 3XomkCpeATuJpnM3wTpYBFQl1l7rBrNFBSIkDu+YxQhRIyhxcuYTFhCbWUBd4s+8S8wQtrjE rSfzmSBseYntb+cwT2AUmIWkZRaSlllIWmYhaVnAyLKKUSS1tDg3PbfYUK84Mbe4NC9dLzk/ dxMjMIq2Hfu5eQfjpY3BhxgFOBiVeHhnBCnECbEmlhVX5h5ilOBgVhLhPTlDNk6INyWxsiq1 KD++qDQntfgQoynQQxOZpUST84ERnlcSb2hqaG5haWhubG5sZqEkztshcDBGSCA9sSQ1OzW1 ILUIpo+Jg1OqgbHq8b4z6/wiudeFce4KTbzVerD97Y7UQ4VaH6Z+2VrjfPtL5yRTGQmPF6bh O/Jmf1lqVngzm7WhtO5Sb/GRQ7bfOVo5tmgJ+W3decsp5T5vlUV01IzkA2qnvCJ/a+3MfKnV t1hFzOzBiT3GPE9nWal7+5x+Xd8gpvF+roi7b87HtKrVlxaJqCixFGckGmoxFxUnAgDDbEBi uAIAAA== X-CMS-MailID: 20200116145653eucas1p2222fb48dd6fe1023a4152e687ec577d5 X-Msg-Generator: CA X-RootMTR: 20200116145653eucas1p2222fb48dd6fe1023a4152e687ec577d5 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20200116145653eucas1p2222fb48dd6fe1023a4152e687ec577d5 References: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200116_065657_315693_BF12312C X-CRM114-Status: GOOD ( 12.85 ) X-Spam-Score: -5.2 (-----) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-5.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at https://www.dnswl.org/, high trust [210.118.77.12 listed in list.dnswl.org] 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [210.118.77.12 listed in wl.mailspike.net] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders -0.0 DKIMWL_WL_HIGH DKIMwl.org - Whitelisted High sender X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Tony Prisk , Andrzej Hajda , Bartlomiej Zolnierkiewicz Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Use ->screen_buffer instead of ->screen_base to fix sparse warnings. [ Please see commit 17a7b0b4d974 ("fb.h: Provide alternate screen_base pointer") for details. ] Signed-off-by: Bartlomiej Zolnierkiewicz Acked-by: Sam Ravnborg --- Resend with Tony & linux-arm ML added to Cc:. drivers/video/fbdev/wm8505fb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: b/drivers/video/fbdev/wm8505fb.c =================================================================== --- a/drivers/video/fbdev/wm8505fb.c +++ b/drivers/video/fbdev/wm8505fb.c @@ -339,7 +339,7 @@ static int wm8505fb_probe(struct platfor fbi->fb.fix.smem_start = fb_mem_phys; fbi->fb.fix.smem_len = fb_mem_len; - fbi->fb.screen_base = fb_mem_virt; + fbi->fb.screen_buffer = fb_mem_virt; fbi->fb.screen_size = fb_mem_len; fbi->contrast = 0x10;