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-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1401922221.4508.0.camel@jekeller-desk1.amr.corp.intel.com>
Date:	Wed, 4 Jun 2014 22:50:22 +0000
From:	"Keller, Jacob E" <jacob.e.keller@...el.com>
To:	"davem@...emloft.net" <davem@...emloft.net>
CC:	"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
	"vyasevic@...hat.com" <vyasevic@...hat.com>,
	"vfalico@...il.com" <vfalico@...il.com>,
	"dingtianhong@...wei.com" <dingtianhong@...wei.com>,
	"jiri@...nulli.us" <jiri@...nulli.us>,
	"kaber@...sh.net" <kaber@...sh.net>
Subject: Re: [PATCH v3 2/4] net: Allow for more then a single subclass for
 netif_addr_lock

On Wed, 2014-06-04 at 14:53 -0700, David Miller wrote:
> From: "Keller, Jacob E" <jacob.e.keller@...el.com>
> Date: Wed, 4 Jun 2014 21:42:12 +0000
> 
> > This only occurs if CONFIG_DEBUG_LOCK_ALLOC=Y, and there seems to be no
> > easy fix for the warning, due to how spin_lock_nested is a macro that
> > discards the second parameter when DEBUG_LOCK_ALLOC is disabled.
> 
> spin_lock_nested(), in that case, should mark the argument as unused.
> 
> --
> To unsubscribe from this list: send the line "unsubscribe netdev" in
> the body of a message to majordomo@...r.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

Can it do that? spin_lock_nested is a macro.

Thanks,
Jake

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ