* [nomadik:ux500-skomer 40/47] drivers/gpu/drm/panel/panel-novatek-nt35510.c:385:5: sparse: sparse: symbol 'nt35510_send_long' was not declared. Should it be static?
@ 2019-12-03 17:59 kbuild test robot
2019-12-03 17:59 ` [RFC PATCH nomadik] drm/panel: nt35510_send_long() can be static kbuild test robot
0 siblings, 1 reply; 2+ messages in thread
From: kbuild test robot @ 2019-12-03 17:59 UTC (permalink / raw)
To: Linus Walleij; +Cc: kbuild-all, linux-arm-kernel
tree: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-nomadik.git ux500-skomer
head: 10adfdbea52ccf7346c17aec778042ab5b604ca9
commit: 40d1110621b1f80d7b04c36bd212cd34574d51f8 [40/47] drm/panel: Add driver for Novatek NT35510-based panels
reproduce:
# apt-get install sparse
# sparse version: v0.6.1-82-g68ac1bb-dirty
git checkout 40d1110621b1f80d7b04c36bd212cd34574d51f8
make ARCH=x86_64 allmodconfig
make C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>
sparse warnings: (new ones prefixed by >>)
>> drivers/gpu/drm/panel/panel-novatek-nt35510.c:385:5: sparse: sparse: symbol 'nt35510_send_long' was not declared. Should it be static?
Please review and possibly fold the followup patch.
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org Intel Corporation
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 2+ messages in thread
* [RFC PATCH nomadik] drm/panel: nt35510_send_long() can be static
2019-12-03 17:59 [nomadik:ux500-skomer 40/47] drivers/gpu/drm/panel/panel-novatek-nt35510.c:385:5: sparse: sparse: symbol 'nt35510_send_long' was not declared. Should it be static? kbuild test robot
@ 2019-12-03 17:59 ` kbuild test robot
0 siblings, 0 replies; 2+ messages in thread
From: kbuild test robot @ 2019-12-03 17:59 UTC (permalink / raw)
To: Linus Walleij; +Cc: kbuild-all, linux-arm-kernel
Fixes: 40d1110621b1 ("drm/panel: Add driver for Novatek NT35510-based panels")
Signed-off-by: kbuild test robot <lkp@intel.com>
---
panel-novatek-nt35510.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/panel/panel-novatek-nt35510.c b/drivers/gpu/drm/panel/panel-novatek-nt35510.c
index 09447160a7951..045a1e619a31f 100644
--- a/drivers/gpu/drm/panel/panel-novatek-nt35510.c
+++ b/drivers/gpu/drm/panel/panel-novatek-nt35510.c
@@ -382,8 +382,8 @@ static inline struct nt35510 *panel_to_nt35510(struct drm_panel *panel)
#define NT35510_ROTATE_0_SETTING 0x02
#define NT35510_ROTATE_180_SETTING 0x00
-int nt35510_send_long(struct nt35510 *nt, struct mipi_dsi_device *dsi,
- u8 cmd, u8 cmdlen, const u8 *seq)
+static int nt35510_send_long(struct nt35510 *nt, struct mipi_dsi_device *dsi,
+ u8 cmd, u8 cmdlen, const u8 *seq)
{
const u8 *seqp = seq;
int cmdwritten = 0;
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-12-03 18:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-03 17:59 [nomadik:ux500-skomer 40/47] drivers/gpu/drm/panel/panel-novatek-nt35510.c:385:5: sparse: sparse: symbol 'nt35510_send_long' was not declared. Should it be static? kbuild test robot
2019-12-03 17:59 ` [RFC PATCH nomadik] drm/panel: nt35510_send_long() can be static kbuild test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).