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: <20071221220328.a051e42b.akpm@linux-foundation.org>
Date:	Fri, 21 Dec 2007 22:03:28 -0800
From:	Andrew Morton <akpm@...ux-foundation.org>
To:	"Ed L. Cashin" <ecashin@...aid.com>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: [PATCH 13/13] update copyright date

On Thu, 20 Dec 2007 17:16:01 -0500 "Ed L. Cashin" <ecashin@...aid.com> wrote:

> Subject: [PATCH 13/13] update copyright date

Please put an identfier for the subsytem in patch titles.  In this case,

	Subject: [PATCH 13/13] aoe: update copyright date

would suit.

I dropped aoe-remove-race-between-use-and-initialization-of-locks.patch,
queued the rest and added the below, thanks.


aoe: statically initialise devlist_lock
From: Andrew Morton <akpm@...ux-foundation.org>

I guess aoedev_init() can go away now.

Cc: Greg KH <greg@...ah.com>
Cc: "Ed L. Cashin" <ecashin@...aid.com>
Signed-off-by: Andrew Morton <akpm@...ux-foundation.org>
---

 drivers/block/aoe/aoedev.c |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff -puN drivers/block/aoe/aoedev.c~aoe-statically-initialise-devlist_lock drivers/block/aoe/aoedev.c
--- a/drivers/block/aoe/aoedev.c~aoe-statically-initialise-devlist_lock
+++ a/drivers/block/aoe/aoedev.c
@@ -16,7 +16,7 @@ static void freetgt(struct aoedev *d, st
 static void skbpoolfree(struct aoedev *d);
 
 static struct aoedev *devlist;
-static spinlock_t devlist_lock;
+static DEFINE_SPINLOCK(devlist_lock);
 
 int
 aoedev_isbusy(struct aoedev *d)
@@ -291,7 +291,5 @@ aoedev_exit(void)
 int __init
 aoedev_init(void)
 {
-	spin_lock_init(&devlist_lock);
 	return 0;
 }
-
_

--
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