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: <20070719.175237.07458467.davem@davemloft.net>
Date:	Thu, 19 Jul 2007 17:52:37 -0700 (PDT)
From:	David Miller <davem@...emloft.net>
To:	shannon.nelson@...el.com
Cc:	akpm@...ux-foundation.org, linux-kernel@...r.kernel.org,
	jeff@...zik.org, dan.j.williams@...el.com,
	christopher.leech@...el.com, peter.p.waskiewicz.jr@...el.com
Subject: Re: [PATCH 6/7] DCA: Add Direct Cache Access driver

From: Shannon Nelson <shannon.nelson@...el.com>
Date: Thu, 19 Jul 2007 17:45:17 -0700

> +static spinlock_t dca_lock;
 ...
> +	spin_lock_init(&dca_lock);

It's easier to use DEFINE_SPINLOCK().
-
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