From patchwork Tue Jun 19 11:05:07 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fengguang Wu X-Patchwork-Id: 10474143 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id C1BAB601D7 for ; Tue, 19 Jun 2018 11:19:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BB17128B5E for ; Tue, 19 Jun 2018 11:19:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AECDC28B6E; Tue, 19 Jun 2018 11:19:19 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 2E85528B5E for ; Tue, 19 Jun 2018 11:19:18 +0000 (UTC) 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:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=h/NErpU41vaZ8hYb9ynhwazNA0hdNEdCdkz7OoYiVik=; b=J/q9yCJ9FMN5ba oxse48yfgm1MCftQpkGMoWaVwK2inlqENJQ6/RULuESHwvlAVOT8z5nXE1FBr9qyr9JE5eyu0RMnu stved8Ow0bZ19boTbk4d4OleiXEaL7dGGi/3/FUTk/ck/wsd5XwgBYRpaQcDuIIGcsvhxQby+pRTL zzdrzp1i1afPrz94CCyM/sqLlLvHHYUpL0tg3SE3v8BaLOcwCUBDsdir4fLV/H2S1AtqWg1DgSre8 zeq4aQhJScbv6T0OjpouBOVsexVz4D4W9CzMWv5hk564dChZfLM/UqLW4+UyCoBjHvsJLeTwUelta HCh7mZ8xZUgPoIVsiGfg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fVEfI-00005j-Kr; Tue, 19 Jun 2018 11:19:12 +0000 Received: from casper.infradead.org ([85.118.1.10]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fVEfG-0008TD-Sr for linux-arm-kernel@bombadil.infradead.org; Tue, 19 Jun 2018 11:19:10 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=+s/x5RRoOjppM/DreKlLwKeLnTAUMivT05AduN8GqmU=; b=XR8SgslIKh20z/G1QBfLr9/oQ /hysHM/pb9ypL3c4Rtx2IK1YyZUytk2zc+qfA3GKuEQJxj8EH2NHIQWWlE66/ijd0Iz9Fw9ZH3ZPp VbqdmXjKzxZRMRAX8FrQ3SE48z+532bqdqJGrMAV7Z68V3OBnp/QyfiRPvQf7bJDUiyjgStwCaWWe TWLgAd3iD/lEN2yWaRMsQ+OqQ5VB1kZ2/qITdvaJ49kEua0wnVv5c/SybP3nTbyJ4aPgFUWto5a/q KlwXF5gsJFZHD//IsmdPcN4P2awvf8X8gZqxKG4+yqVOFCMnOV9dH5VR6FMwU350OC+lBOluWztJM +PLHcDlew==; Received: from mga11.intel.com ([192.55.52.93]) by casper.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fVES5-0006Uo-Hj for linux-arm-kernel@lists.infradead.org; Tue, 19 Jun 2018 11:05:35 +0000 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 19 Jun 2018 04:05:21 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,242,1526367600"; d="scan'208";a="68172791" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by orsmga002.jf.intel.com with ESMTP; 19 Jun 2018 04:05:17 -0700 Received: from kbuild by bee with local (Exim 4.84_2) (envelope-from ) id 1fVERm-000E84-1w; Tue, 19 Jun 2018 19:05:14 +0800 Date: Tue, 19 Jun 2018 19:05:07 +0800 From: kbuild test robot To: Maciej Purski Subject: [PATCH] drm/bridge: tc358764: fix noderef.cocci warnings Message-ID: <20180619110506.GA20216@lkp-ib03> References: <1529396370-18761-8-git-send-email-m.purski@samsung.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1529396370-18761-8-git-send-email-m.purski@samsung.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: lkp@intel.com X-SA-Exim-Scanned: No (on bee); SAEximRunCond expanded to false X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180619_120533_978496_C27C43B1 X-CRM114-Status: GOOD ( 25.17 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , David Airlie , dri-devel@lists.freedesktop.org, Maciej Purski , Andrzej Hajda , Thierry Reding , Laurent Pinchart , Marek Szyprowski , Archit Taneja , linux-samsung-soc@vger.kernel.org, Joonyoung Shim , Krzysztof Kozlowski , Kukjin Kim , devicetree@vger.kernel.org, Bartlomiej Zolnierkiewicz , Inki Dae , Rob Herring , linux-arm-kernel@lists.infradead.org, Seung-Woo Kim , linux-kernel@vger.kernel.org, Kyungmin Park , kbuild-all@01.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: kbuild test robot drivers/gpu/drm/bridge/tc358764.c:179:60-66: ERROR: application of sizeof to pointer sizeof when applied to a pointer typed expression gives the size of the pointer Generated by: scripts/coccinelle/misc/noderef.cocci Fixes: 147fe90c9d51 ("drm/bridge: tc358764: Add DSI to LVDS bridge driver") CC: Andrzej Hajda Signed-off-by: kbuild test robot --- tc358764.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- a/drivers/gpu/drm/bridge/tc358764.c +++ b/drivers/gpu/drm/bridge/tc358764.c @@ -176,7 +176,8 @@ static int tc358764_read(struct tc358764 ssize_t ret; cpu_to_le16s(&addr); - ret = mipi_dsi_generic_read(dsi, &addr, sizeof(addr), val, sizeof(val)); + ret = mipi_dsi_generic_read(dsi, &addr, sizeof(addr), val, + sizeof(*val)); if (ret >= 0) le32_to_cpus(val);