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]
Date:	Sun, 20 Dec 2009 15:48:05 +0300
From:	Alexander Beregalov <a.beregalov@...il.com>
To:	Alan Cox <alan@...ux.intel.com>,
	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: tty: tty_port_get() breaks build

Hi

Commit is 568aafc62
tty: tty_port: Add a kref object to the tty port

include/linux/tty.h:469: error: '______f' is static but declared in
inline function 'tty_port_get' which is not static

tty_port_get() looks as

extern inline __attribute__((always_inline)) struct tty_port
*tty_port_get(struct tty_port *port)
{
 if (__builtin_constant_p(((port))) ? !!((port)) : ({ int ______r;
static struct ftrace_branch_data __attribute__((__aligned__(4)))
__attribute__((section("_ftrace_branch"))) ______f = { .func =
__func__, .file = "include/linux/tty.h", .line = 469, }; ______r =
!!((port)); ______f.miss_hit[______r]++; ______r; }))
  kref_get(&port->kref);
 return port;
}
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ