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  linux-cve-announce  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]
Message-ID: <20200914162405.4804f571@canb.auug.org.au>
Date:   Mon, 14 Sep 2020 16:24:05 +1000
From:   Stephen Rothwell <sfr@...b.auug.org.au>
To:     Mauro Carvalho Chehab <mchehab@...nel.org>
Cc:     "Daniel W. S. Almeida" <dwlsalmeida@...il.com>,
        Linux Next Mailing List <linux-next@...r.kernel.org>,
        Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: linux-next: build failure after merge of the v4l-dvb tree

Hi all,

After merging the v4l-dvb tree, today's linux-next build (powerpc
allyesconfig) failed like this:

drivers/media/test-drivers/vidtv/vidtv_psi.c: In function 'vidtv_psi_sdt_serv_get_desc_loop_len':
include/linux/build_bug.h:16:51: error: negative width in bit-field '<anonymous>'
   16 | #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); })))
      |                                                   ^
include/linux/bits.h:24:3: note: in expansion of macro 'BUILD_BUG_ON_ZERO'
   24 |  (BUILD_BUG_ON_ZERO(__builtin_choose_expr( \
      |   ^~~~~~~~~~~~~~~~~
include/linux/bits.h:38:3: note: in expansion of macro 'GENMASK_INPUT_CHECK'
   38 |  (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l))
      |   ^~~~~~~~~~~~~~~~~~~
drivers/media/test-drivers/vidtv/vidtv_psi.c:103:9: note: in expansion of macro 'GENMASK'
  103 |  mask = GENMASK(0, 11);
      |         ^~~~~~~
drivers/media/test-drivers/vidtv/vidtv_psi.c: In function 'vidtv_psi_pmt_stream_get_desc_loop_len':
include/linux/build_bug.h:16:51: error: negative width in bit-field '<anonymous>'
   16 | #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); })))
      |                                                   ^
include/linux/bits.h:24:3: note: in expansion of macro 'BUILD_BUG_ON_ZERO'
   24 |  (BUILD_BUG_ON_ZERO(__builtin_choose_expr( \
      |   ^~~~~~~~~~~~~~~~~
include/linux/bits.h:38:3: note: in expansion of macro 'GENMASK_INPUT_CHECK'
   38 |  (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l))
      |   ^~~~~~~~~~~~~~~~~~~
drivers/media/test-drivers/vidtv/vidtv_psi.c:118:9: note: in expansion of macro 'GENMASK'
  118 |  mask = GENMASK(0, 9);
      |         ^~~~~~~
drivers/media/test-drivers/vidtv/vidtv_psi.c: In function 'vidtv_psi_pmt_get_desc_loop_len':
include/linux/build_bug.h:16:51: error: negative width in bit-field '<anonymous>'
   16 | #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); })))
      |                                                   ^
include/linux/bits.h:24:3: note: in expansion of macro 'BUILD_BUG_ON_ZERO'
   24 |  (BUILD_BUG_ON_ZERO(__builtin_choose_expr( \
      |   ^~~~~~~~~~~~~~~~~
include/linux/bits.h:38:3: note: in expansion of macro 'GENMASK_INPUT_CHECK'
   38 |  (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l))
      |   ^~~~~~~~~~~~~~~~~~~
drivers/media/test-drivers/vidtv/vidtv_psi.c:133:9: note: in expansion of macro 'GENMASK'
  133 |  mask = GENMASK(0, 9);
      |         ^~~~~~~
drivers/media/test-drivers/vidtv/vidtv_psi.c: In function 'vidtv_psi_get_sec_len':
include/linux/build_bug.h:16:51: error: negative width in bit-field '<anonymous>'
   16 | #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); })))
      |                                                   ^
include/linux/bits.h:24:3: note: in expansion of macro 'BUILD_BUG_ON_ZERO'
   24 |  (BUILD_BUG_ON_ZERO(__builtin_choose_expr( \
      |   ^~~~~~~~~~~~~~~~~
include/linux/bits.h:38:3: note: in expansion of macro 'GENMASK_INPUT_CHECK'
   38 |  (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l))
      |   ^~~~~~~~~~~~~~~~~~~
drivers/media/test-drivers/vidtv/vidtv_psi.c:148:9: note: in expansion of macro 'GENMASK'
  148 |  mask = GENMASK(0, 11);
      |         ^~~~~~~
drivers/media/test-drivers/vidtv/vidtv_psi.c: In function 'vidtv_psi_get_pat_program_pid':
include/linux/build_bug.h:16:51: error: negative width in bit-field '<anonymous>'
   16 | #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); })))
      |                                                   ^
include/linux/bits.h:24:3: note: in expansion of macro 'BUILD_BUG_ON_ZERO'
   24 |  (BUILD_BUG_ON_ZERO(__builtin_choose_expr( \
      |   ^~~~~~~~~~~~~~~~~
include/linux/bits.h:38:3: note: in expansion of macro 'GENMASK_INPUT_CHECK'
   38 |  (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l))
      |   ^~~~~~~~~~~~~~~~~~~
drivers/media/test-drivers/vidtv/vidtv_psi.c:163:9: note: in expansion of macro 'GENMASK'
  163 |  mask = GENMASK(0, 12);
      |         ^~~~~~~
drivers/media/test-drivers/vidtv/vidtv_psi.c: In function 'vidtv_psi_pmt_stream_get_elem_pid':
include/linux/build_bug.h:16:51: error: negative width in bit-field '<anonymous>'
   16 | #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); })))
      |                                                   ^
include/linux/bits.h:24:3: note: in expansion of macro 'BUILD_BUG_ON_ZERO'
   24 |  (BUILD_BUG_ON_ZERO(__builtin_choose_expr( \
      |   ^~~~~~~~~~~~~~~~~
include/linux/bits.h:38:3: note: in expansion of macro 'GENMASK_INPUT_CHECK'
   38 |  (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l))
      |   ^~~~~~~~~~~~~~~~~~~
drivers/media/test-drivers/vidtv/vidtv_psi.c:178:9: note: in expansion of macro 'GENMASK'
  178 |  mask = GENMASK(0, 12);
      |         ^~~~~~~
drivers/media/test-drivers/vidtv/vidtv_psi.c: In function 'vidtv_psi_set_sec_len':
include/linux/build_bug.h:16:51: error: negative width in bit-field '<anonymous>'
   16 | #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); })))
      |                                                   ^
include/linux/bits.h:24:3: note: in expansion of macro 'BUILD_BUG_ON_ZERO'
   24 |  (BUILD_BUG_ON_ZERO(__builtin_choose_expr( \
      |   ^~~~~~~~~~~~~~~~~
include/linux/bits.h:38:3: note: in expansion of macro 'GENMASK_INPUT_CHECK'
   38 |  (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l))
      |   ^~~~~~~~~~~~~~~~~~~
drivers/media/test-drivers/vidtv/vidtv_psi.c:209:9: note: in expansion of macro 'GENMASK'
  209 |  mask = GENMASK(13, 15);
      |         ^~~~~~~
make[5]: *** [scripts/Makefile.build:283: drivers/media/test-drivers/vidtv/vidtv_psi.o] Error 1
In file included from include/linux/bits.h:22,
                 from include/linux/ratelimit_types.h:5,
                 from include/linux/printk.h:10,
                 from drivers/media/test-drivers/vidtv/vidtv_pes.c:17:
drivers/media/test-drivers/vidtv/vidtv_pes.c: In function 'vidtv_pes_write_pts_dts':
include/linux/build_bug.h:16:51: error: negative width in bit-field '<anonymous>'
   16 | #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); })))
      |                                                   ^
include/linux/bits.h:24:3: note: in expansion of macro 'BUILD_BUG_ON_ZERO'
   24 |  (BUILD_BUG_ON_ZERO(__builtin_choose_expr( \
      |   ^~~~~~~~~~~~~~~~~
include/linux/bits.h:38:3: note: in expansion of macro 'GENMASK_INPUT_CHECK'
   38 |  (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l))
      |   ^~~~~~~~~~~~~~~~~~~
drivers/media/test-drivers/vidtv/vidtv_pes.c:94:10: note: in expansion of macro 'GENMASK'
   94 |  mask1 = GENMASK(30, 32);
      |          ^~~~~~~
include/linux/build_bug.h:16:51: error: negative width in bit-field '<anonymous>'
   16 | #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); })))
      |                                                   ^
include/linux/bits.h:24:3: note: in expansion of macro 'BUILD_BUG_ON_ZERO'
   24 |  (BUILD_BUG_ON_ZERO(__builtin_choose_expr( \
      |   ^~~~~~~~~~~~~~~~~
include/linux/bits.h:38:3: note: in expansion of macro 'GENMASK_INPUT_CHECK'
   38 |  (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l))
      |   ^~~~~~~~~~~~~~~~~~~
drivers/media/test-drivers/vidtv/vidtv_pes.c:95:10: note: in expansion of macro 'GENMASK'
   95 |  mask2 = GENMASK(15, 29);
      |          ^~~~~~~
include/linux/build_bug.h:16:51: error: negative width in bit-field '<anonymous>'
   16 | #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); })))
      |                                                   ^
include/linux/bits.h:24:3: note: in expansion of macro 'BUILD_BUG_ON_ZERO'
   24 |  (BUILD_BUG_ON_ZERO(__builtin_choose_expr( \
      |   ^~~~~~~~~~~~~~~~~
include/linux/bits.h:38:3: note: in expansion of macro 'GENMASK_INPUT_CHECK'
   38 |  (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l))
      |   ^~~~~~~~~~~~~~~~~~~
drivers/media/test-drivers/vidtv/vidtv_pes.c:96:10: note: in expansion of macro 'GENMASK'
   96 |  mask3 = GENMASK(0, 14);
      |          ^~~~~~~

Caused by commit

  f90cf6079bf6 ("media: vidtv: add a bridge driver")

I have disabled CONFIG_DVB_VIDTV for today.

-- 
Cheers,
Stephen Rothwell

Content of type "application/pgp-signature" skipped

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ