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]
Date:	Mon, 5 Nov 2007 14:18:19 +0100
From:	Cornelia Huck <cornelia.huck@...ibm.com>
To:	Greg Kroah-Hartman <gregkh@...e.de>
Cc:	linux-kernel@...r.kernel.org, Greg Kroah-Hartman <gregkh@...e.de>,
	Kay Sievers <kay.sievers@...y.org>,
	Michael Holzheu <holzheu@...ibm.com>
Subject: Re: [PATCH 27/54] kset: convert s390 hypervisor kset to use
 kset_create

On Fri,  2 Nov 2007 16:59:05 -0700,
Greg Kroah-Hartman <gregkh@...e.de> wrote:

> Dynamically create the kset instead of declaring it statically.
> 
> Cc: Kay Sievers <kay.sievers@...y.org>
> Cc: Michael Holzheu <holzheu@...ibm.com>
> Cc: Cornelia Huck <cornelia.huck@...ibm.com>
> Signed-off-by: Greg Kroah-Hartman <gregkh@...e.de>
> ---
>  arch/s390/hypfs/inode.c |   15 +++++++++------
>  1 files changed, 9 insertions(+), 6 deletions(-)

arch/s390/hypfs/inode.c: In function 'hypfs_init':
arch/s390/hypfs/inode.c:512: error: implicit declaration of function 'IS_PTR'

Signed-off-by: Cornelia Huck <cornelia.huck@...ibm.com>
---
 arch/s390/hypfs/inode.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

Index: linux-2.6/arch/s390/hypfs/inode.c
===================================================================
--- linux-2.6.orig/arch/s390/hypfs/inode.c	2007-11-05 11:12:49.000000000 +0100
+++ linux-2.6/arch/s390/hypfs/inode.c	2007-11-05 14:14:46.000000000 +0100
@@ -509,7 +509,7 @@ static int __init hypfs_init(void)
 
 	s390_kset = kset_create_and_register("s390", NULL, NULL,
 		    hypervisor_kset);
-	if (IS_PTR(s390_kset)) {
+	if (IS_ERR(s390_kset)) {
 		rc = PTR_ERR(s390_kset);
 		goto fail_sysfs;
 	}
-
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