lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Fri, 24 Feb 2017 10:27:34 +1100
From:   Stephen Rothwell <sfr@...b.auug.org.au>
To:     Dave Airlie <airlied@...ux.ie>
Cc:     linux-next@...r.kernel.org, linux-kernel@...r.kernel.org,
        Noralf Trønnes <noralf@...nnes.org>
Subject: linux-next: build warnings after merge of the drm tree

Hi Dave,

After merging the drm tree, today's linux-next build (x86_64 allmodconfig)
produced these warnings:

/next/include/drm/drm_gem_cma_helper.h:4:0,
                 from include/drm/tinydrm/tinydrm.h:13,
                 from include/drm/tinydrm/mipi-dbi.h:15,
                 from drivers/gpu/drm/tinydrm/mipi-dbi.c:12:
drivers/gpu/drm/tinydrm/mipi-dbi.c: In function 'mipi_dbi_typec1_command':
drivers/gpu/drm/tinydrm/mipi-dbi.c:65:20: warning: field width specifier '*' expects argument of type 'int', but argument 5 has type 'size_t {aka long unsigned int}' [-Wformat=]
   DRM_DEBUG_DRIVER("cmd=%02x, par=%*ph\n", cmd, len, data); \
                    ^
include/drm/drmP.h:228:40: note: in definition of macro 'DRM_DEBUG_DRIVER'
  drm_printk(KERN_DEBUG, DRM_UT_DRIVER, fmt, ##__VA_ARGS__)
                                        ^
drivers/gpu/drm/tinydrm/mipi-dbi.c:671:2: note: in expansion of macro 'MIPI_DBI_DEBUG_COMMAND'
  MIPI_DBI_DEBUG_COMMAND(cmd, parameters, num);
  ^
drivers/gpu/drm/tinydrm/mipi-dbi.c: In function 'mipi_dbi_typec3_command_read':
drivers/gpu/drm/tinydrm/mipi-dbi.c:65:20: warning: field width specifier '*' expects argument of type 'int', but argument 5 has type 'size_t {aka long unsigned int}' [-Wformat=]
   DRM_DEBUG_DRIVER("cmd=%02x, par=%*ph\n", cmd, len, data); \
                    ^
include/drm/drmP.h:228:40: note: in definition of macro 'DRM_DEBUG_DRIVER'
  drm_printk(KERN_DEBUG, DRM_UT_DRIVER, fmt, ##__VA_ARGS__)
                                        ^
drivers/gpu/drm/tinydrm/mipi-dbi.c:740:2: note: in expansion of macro 'MIPI_DBI_DEBUG_COMMAND'
  MIPI_DBI_DEBUG_COMMAND(cmd, data, len);
  ^
drivers/gpu/drm/tinydrm/mipi-dbi.c: In function 'mipi_dbi_typec3_command':
drivers/gpu/drm/tinydrm/mipi-dbi.c:65:20: warning: field width specifier '*' expects argument of type 'int', but argument 5 has type 'size_t {aka long unsigned int}' [-Wformat=]
   DRM_DEBUG_DRIVER("cmd=%02x, par=%*ph\n", cmd, len, data); \
                    ^
include/drm/drmP.h:228:40: note: in definition of macro 'DRM_DEBUG_DRIVER'
  drm_printk(KERN_DEBUG, DRM_UT_DRIVER, fmt, ##__VA_ARGS__)
                                        ^
drivers/gpu/drm/tinydrm/mipi-dbi.c:759:2: note: in expansion of macro 'MIPI_DBI_DEBUG_COMMAND'
  MIPI_DBI_DEBUG_COMMAND(cmd, par, num);
  ^
drivers/gpu/drm/tinydrm/mipi-dbi.c: In function 'mipi_dbi_debugfs_command_write':
drivers/gpu/drm/tinydrm/mipi-dbi.c:905:8: warning: 'cmd' may be used uninitialized in this function [-Wmaybe-uninitialized]
  ret = mipi_dbi_command_buf(mipi, cmd, parameters, i);
        ^
Introduced by commit

  02dd95fe3169 ("drm/tinydrm: Add MIPI DBI support")

-- 
Cheers,
Stephen Rothwell

Powered by blists - more mailing lists