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>] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 15 May 2014 06:48:48 -0700
From:	Jim Davis <jim.epost@...il.com>
To:	Stephen Rothwell <sfr@...b.auug.org.au>,
	linux-next <linux-next@...r.kernel.org>,
	linux-kernel <linux-kernel@...r.kernel.org>,
	ogerlitz@...lanox.com, netdev <netdev@...r.kernel.org>
Subject: randconfig build error with next-20140515, in drivers/net/ethernet/mellanox/mlx4/eq.c

Building with the attached random configuration file,

drivers/net/ethernet/mellanox/mlx4/eq.c:58:29: error: field ‘notify’
has incomplete type
  struct irq_affinity_notify notify;
                             ^
In file included from include/linux/interrupt.h:5:0,
                 from drivers/net/ethernet/mellanox/mlx4/eq.c:34:
drivers/net/ethernet/mellanox/mlx4/eq.c: In function ‘mlx4_irq_notifier_notify’:
include/linux/kernel.h:834:48: warning: initialization from
incompatible pointer type [enabled by default]
  const typeof( ((type *)0)->member ) *__mptr = (ptr); \
                                                ^
drivers/net/ethernet/mellanox/mlx4/eq.c:1094:30: note: in expansion of
macro ‘container_of’
  struct mlx4_irq_notify *n = container_of(notify,
                              ^
include/linux/kernel.h:834:48: warning: (near initialization for ‘n’)
[enabled by default]
  const typeof( ((type *)0)->member ) *__mptr = (ptr); \
                                                ^
drivers/net/ethernet/mellanox/mlx4/eq.c:1094:30: note: in expansion of
macro ‘container_of’
  struct mlx4_irq_notify *n = container_of(notify,
                              ^
drivers/net/ethernet/mellanox/mlx4/eq.c:1104:24: error: dereferencing
pointer to incomplete type
   if (cq->irq == notify->irq)
                        ^
In file included from include/linux/interrupt.h:5:0,
                 from drivers/net/ethernet/mellanox/mlx4/eq.c:34:
drivers/net/ethernet/mellanox/mlx4/eq.c: In function
‘mlx4_release_irq_notifier’:
include/linux/kernel.h:834:48: warning: initialization from
incompatible pointer type [enabled by default]
  const typeof( ((type *)0)->member ) *__mptr = (ptr); \
                                                ^
drivers/net/ethernet/mellanox/mlx4/eq.c:1111:30: note: in expansion of
macro ‘container_of’
  struct mlx4_irq_notify *n = container_of(ref, struct mlx4_irq_notify,
                              ^
include/linux/kernel.h:834:48: warning: (near initialization for ‘n’)
[enabled by default]
  const typeof( ((type *)0)->member ) *__mptr = (ptr); \
                                                ^
drivers/net/ethernet/mellanox/mlx4/eq.c:1111:30: note: in expansion of
macro ‘container_of’
  struct mlx4_irq_notify *n = container_of(ref, struct mlx4_irq_notify,
                              ^
drivers/net/ethernet/mellanox/mlx4/eq.c: In function ‘mlx4_assign_irq_notifier’:
drivers/net/ethernet/mellanox/mlx4/eq.c:1133:2: error: implicit
declaration of function ‘irq_set_affinity_notifier’
[-Werror=implicit-function-declaration]
  err = irq_set_affinity_notifier(irq, &irq_notifier->notify);
  ^
cc1: some warnings being treated as errors

View attachment "randconfig-1400150947.txt" of type "text/plain" (83148 bytes)

Powered by blists - more mailing lists