Received: by 10.213.65.68 with SMTP id h4csp457427imn; Wed, 28 Mar 2018 06:54:56 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/vABVbXJ+Gp4qaHICdgPWPHSsMglkr5lRMmRDQL5KzVJXuQPYa4KTVrAlRl7wq8fRdDFY1 X-Received: by 10.101.81.75 with SMTP id g11mr2649514pgq.143.1522245296316; Wed, 28 Mar 2018 06:54:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522245296; cv=none; d=google.com; s=arc-20160816; b=GIzGjIbGvUllqmmkoLYiEPOomV2FfQH1C3AykRTANKPAl7UBu8sbJKsWbmfG7eoNJV acOsUuZJ2Dn2QHndZ2Y4nHKulUEUGG8nHggR/Qa2Odemp3Boau3u1b1SUJfgrmySiGOf fCLC/cvzdd89ytJeRocRGlIwV4xN+zZ+bOJiSty6Sf5sHx78GCwucMcTpb5zV8C8pkx6 KVFYaqKUps3t9q2ttrXTmRK1qsfYAS2lSFG1sWiYVWrGiwzezxofBZCi7BUu1wmIv2rN GPwAx/xyFNv7UM9O/HYzncZuKxQl++4mQ4mVI6JCpA0jmEBYmYRX2TKMQIRTVPb5Z3II 6Nfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:cms-type :content-transfer-encoding:mime-version:in-reply-to:user-agent :message-id:date:subject:cc:to:from:dkim-signature:dkim-filter :arc-authentication-results; bh=Vul7K0Zs3qcgIUGXwcThA4AalKI+iTskBhDQ2fl9SMo=; b=r7b0zVAuHu7KiKYksoCzsldbuSDZJ9GEWBLMHBLvOyx8wPwTSmXnfDSABqckjhHKbY G5MkcmXpG8FXHQmcou0pMqsoP7y42ZTzM67/WW/G2uB4z7Ix4InFpwArujMUO9lHZJq3 kMNsDWa7QVcb5VSfAsQAUIdwx+rjOS8XORNwfYRnBsVFvybtltcrb0TXnW0SiqT0fIEF sqDmxCEvaWX54Ox3onw579VG857Dj2aa8N9koCwRFCiPsg05cqV0zG1nb31QGq0u3gVR gA4x9vrKQ2gjrYjVfEfYB/3RrcpiWwhCUqyhYLTxtwmtYf0JGwukXJBsflVRRRQExxmz OsHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=O6uCW4H6; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l91-v6si3719727plb.301.2018.03.28.06.54.41; Wed, 28 Mar 2018 06:54:56 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=O6uCW4H6; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753306AbeC1Nxq (ORCPT + 99 others); Wed, 28 Mar 2018 09:53:46 -0400 Received: from mailout2.samsung.com ([203.254.224.25]:23368 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753142AbeC1Nxo (ORCPT ); Wed, 28 Mar 2018 09:53:44 -0400 Received: from epcas2p3.samsung.com (unknown [182.195.41.55]) by mailout2.samsung.com (KnoxPortal) with ESMTP id 20180328135341epoutp02cbf091ad423ca5c2f5d2e151d22d4497~gGfbR5tla1241512415epoutp02N; Wed, 28 Mar 2018 13:53:41 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.samsung.com 20180328135341epoutp02cbf091ad423ca5c2f5d2e151d22d4497~gGfbR5tla1241512415epoutp02N DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1522245221; bh=Vul7K0Zs3qcgIUGXwcThA4AalKI+iTskBhDQ2fl9SMo=; h=From:To:Cc:Subject:Date:In-reply-to:References:From; b=O6uCW4H6Q3iVAb0jD7JjN6IM3sM5628jmkuQVOVU5rMsOM81D4S3TEUNCRFeLhM+r DWFGxtcVjdiWYvqW5A5xwCnNyBV0X9gPzrA+QKkErU84O7EG9INNnBP1A1inavbBmI NxDLC4/EGtk55giazx8nqOvIr5bPNGl9MafrDzDI= Received: from epsmges2p2.samsung.com (unknown [182.195.42.70]) by epcas2p3.samsung.com (KnoxPortal) with ESMTP id 20180328135340epcas2p382edb1bfdbfe421df2deed77b3212bc4~gGfaWK0kr0890708907epcas2p3J; Wed, 28 Mar 2018 13:53:40 +0000 (GMT) Received: from epcas2p1.samsung.com ( [182.195.41.53]) by epsmges2p2.samsung.com (Symantec Messaging Gateway) with SMTP id CA.B7.04072.46E9BBA5; Wed, 28 Mar 2018 22:53:40 +0900 (KST) Received: from epsmgms2p2new.samsung.com (unknown [182.195.42.143]) by epcas2p3.samsung.com (KnoxPortal) with ESMTP id 20180328135340epcas2p32a6df1b54cf28e3dc3948ee3a9d5b4e7~gGfaCva6c3273432734epcas2p33; Wed, 28 Mar 2018 13:53:40 +0000 (GMT) X-AuditID: b6c32a46-b6dff70000000fe8-e9-5abb9e64aa41 Received: from epmmp2 ( [203.254.227.17]) by epsmgms2p2new.samsung.com (Symantec Messaging Gateway) with SMTP id EB.03.03827.46E9BBA5; Wed, 28 Mar 2018 22:53:40 +0900 (KST) Received: from amdc3058.localnet ([106.120.53.102]) by mmp2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0P6A00FPGZXFST20@mmp2.samsung.com>; Wed, 28 Mar 2018 22:53:40 +0900 (KST) From: Bartlomiej Zolnierkiewicz To: SF Markus Elfring Cc: Arnd Bergmann , Bastian Stender , Jyri Sarha , Tomi Valkeinen , linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org, LKML , kernel-janitors@vger.kernel.org Subject: Re: [PATCH v2] video: ssd1307fb: Improve a size determination in ssd1307fb_probe() Date: Wed, 28 Mar 2018 15:53:38 +0200 Message-id: <3926941.Nf8LXND9kI@amdc3058> User-Agent: KMail/4.13.3 (Linux/3.13.0-96-generic; KDE/4.13.3; x86_64; ; ) In-reply-to: MIME-version: 1.0 Content-transfer-encoding: 7Bit Content-type: text/plain; charset="us-ascii" X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmplleLIzCtJLcpLzFFi42LZdljTVDdl3u4og573xhZ/Jx1jt/ixi9vi ytf3bBbnO5czW3R3drBabL0lbXGi7wOrxeVdc9gs1s+/xebA6fH71yRGj/vdx5k8+v8aeBy/ sZ3Jo+lUO6vH501yAWxRXDYpqTmZZalF+nYJXBnNN/8zFUxnrXg5dxpzA+M8li5GTg4JAROJ Z60HGLsYuTiEBHYwSry+tY4NJCEk8J1RomVnDUzR5b+H2SGKNjBKzLh2jhnC+coocXrVSXaQ KjYBK4mJ7auARnFwiAiYSvw5EQJSwywwlUni/YqDbCBxYYFYiZm9OiDlLAKqErPbnrCC2LwC mhLNE96CjREV8JLYsq+dCaScU8BTYtd1fYgSQYkfk++BHc0sIC+xb/9UVghbR+LssXVgD0gI XGaTaF13nxniaBeJxYcmQdnCEq+Ob2GHsKUlnq3aCNXQzCjxbcceqKIJjBJ71gtB2NYSh49f hNrAJ9Fx+C87yEESArwSHW1QJR4SZ7b2s0LYjhJnjj1kggTcHkaJtc2cExhlZyG5exaSu2ch uXsBI/MqRrHUguLc9NRiowIjveLE3OLSvHS95PzcTYzgxKHltoNxyTmfQ4wCHIxKPLwFMbui hFgTy4orcw8xSnAwK4nwvtfYHSXEm5JYWZValB9fVJqTWnyIUZqDRUmctzXAJUpIID2xJDU7 NbUgtQgmy8TBKdXAWPWwsd7zcfepvZlPeqVP5stuXdyQvulyxr3ueMP43eLcufk72V9dnzXr b9vOTSLdm/6WbPP11s9af6vTLfPuYoMuTmPpv0/tm3pfbmHWzfDc+nFj6UcvluIFcuyl1Vfn r+y1v7LZZI3tQpOHkkwPXJgqSts/zxTS02WKMDSr3X3v+yye93YLlViKMxINtZiLihMB1ylF YBgDAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrPLMWRmVeSWpSXmKPExsVy+t9jQd2UebujDJ69lLP4O+kYu8WPXdwW V76+Z7M437mc2aK7s4PVYustaYsTfR9YLS7vmsNmsX7+LTYHTo/fvyYxetzvPs7k0f/XwOP4 je1MHk2n2lk9Pm+SC2CL4rJJSc3JLEst0rdL4MpovvmfqWA6a8XLudOYGxjnsXQxcnJICJhI XP57mL2LkYtDSGAdo8TUSXNYIJyvjBLT755jBqliE7CSmNi+irGLkYNDRMBU4s+JEJAaZoGp TBLdd/vYQeLCArESM3t1QMpZBFQlZrc9YQWxeQU0JZonvGUHsUUFvCS27GtnAinnFPCU2HVd H2LVPkaJvTuXsUDUC0r8mHwPzGYWkJfYt38qK4StJbF+53GmCYz8s5CUzUJSNgtJ2QJG5lWM kqkFxbnpucVGBUZ5qeV6xYm5xaV56XrJ+bmbGIHBvu2wVv8OxsdL4g8xCnAwKvHwFsTsihJi TSwrrsw9xCjBwawkwvteY3eUEG9KYmVValF+fFFpTmrxIUZpDhYlcV7+/GORQgLpiSWp2amp BalFMFkmDk4pYPBO3f6MsTtJnTn0FpPz3gs3RcptlsbvnMk2ayFjg/D2iYyq63Mn1fAHnOo/ /nHRLM/DtRGHhVuerRCpi6k3qX/zf2m4uVTMRaPFp7bULg2YZ9HOuMLOJ7hDrukV77+8HgUB /wy3xtQFf7kjHywVVfl6/PbGpV2ualztvS8aBL5c4JrjKcumrsRSnJFoqMVcVJwIADyW9tty AgAA X-CMS-MailID: 20180328135340epcas2p32a6df1b54cf28e3dc3948ee3a9d5b4e7 X-Msg-Generator: CA CMS-TYPE: 102P X-CMS-RootMailID: 20171125160425epcas5p43b2d94fbcc74745017c4c91ff08de685 X-RootMTR: 20171125160425epcas5p43b2d94fbcc74745017c4c91ff08de685 References: <2091464.qzRHS0Wsad@amdc3058> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sunday, January 07, 2018 07:34:44 PM SF Markus Elfring wrote: > From: Markus Elfring > Date: Sun, 7 Jan 2018 19:27:28 +0100 > > Replace the specification of a data structure by a pointer dereference > as the parameter for the operator "sizeof" to make the corresponding size > determination a bit safer according to the Linux coding style convention. > > This issue was detected by using the Coccinelle software. > > Signed-off-by: Markus Elfring Patch queued for 4.17, thanks. Best regards, -- Bartlomiej Zolnierkiewicz Samsung R&D Institute Poland Samsung Electronics