From: fengguang.wu@intel.com (kbuild test robot)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] drm/bridge: tc358764: fix noderef.cocci warnings
Date: Tue, 19 Jun 2018 19:05:07 +0800 [thread overview]
Message-ID: <20180619110506.GA20216@lkp-ib03> (raw)
In-Reply-To: <1529396370-18761-8-git-send-email-m.purski@samsung.com>
From: kbuild test robot <fengguang.wu@intel.com>
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 <a.hajda@samsung.com>
Signed-off-by: kbuild test robot <fengguang.wu@intel.com>
---
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);
next prev parent reply other threads:[~2018-06-19 11:05 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CGME20180619081956eucas1p1de0ce0c89abdbf021c9942a2af39fe52@eucas1p1.samsung.com>
2018-06-19 8:19 ` [PATCH v3 0/9] Add TOSHIBA TC358764 DSI/LVDS bridge driver Maciej Purski
2018-06-19 8:19 ` [PATCH v3 1/9] drm/exynos: rename "bridge_node" to "mic_bridge_node" Maciej Purski
2018-07-24 7:49 ` Inki Dae
2018-07-25 8:11 ` Andrzej Hajda
2018-07-25 8:13 ` Inki Dae
2018-06-19 8:19 ` [PATCH v3 2/9] drm/exynos: move connector creation to attach callback Maciej Purski
2018-07-24 8:04 ` Inki Dae
[not found] ` <5B56DD97.3030508@samsung.com>
2018-07-24 8:10 ` Inki Dae
2018-06-19 8:19 ` [PATCH v3 3/9] drm/exynos: enable out_bridge in exynos_dsi_enable() Maciej Purski
2018-07-24 8:02 ` Inki Dae
2018-06-19 8:19 ` [PATCH v3 4/9] dt-bindings: display: add DT bindings for BOE HV070WSA-100 panel Maciej Purski
2018-06-20 18:25 ` Rob Herring
2018-07-10 9:56 ` Thierry Reding
2018-06-19 8:19 ` [PATCH v3 5/9] drm/panel: add support for BOE HV070WSA-100 panel to simple-panel Maciej Purski
2018-07-10 9:57 ` Thierry Reding
2018-06-19 8:19 ` [PATCH v3 6/9] dt-bindings: tc358754: add DT bindings Maciej Purski
2018-06-20 18:26 ` Rob Herring
2018-06-19 8:19 ` [PATCH v3 7/9] drm/bridge: tc358764: Add DSI to LVDS bridge driver Maciej Purski
2018-06-19 11:05 ` kbuild test robot
2018-06-19 11:05 ` kbuild test robot [this message]
2018-07-09 14:08 ` Andrzej Hajda
2018-06-19 8:19 ` [PATCH v3 8/9] ARM: dts: exynos5250: add DSI node Maciej Purski
2018-07-07 8:55 ` Krzysztof Kozlowski
2018-06-19 8:19 ` [PATCH v3 9/9] ARM: dts: exynos5250-arndale: add DSI and panel nodes Maciej Purski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180619110506.GA20216@lkp-ib03 \
--to=fengguang.wu@intel.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox