patch kobject-fix-gfp-flags-type.patch added to gregkh-2.6 tree
Subsystems (3)
[email protected]
AppliedThis is a note to let you know that I've just added the patch titled
Subject: [PATCH] (replacement) kobject: fix gfp flags type
to my gregkh-2.6 tree. Its filename is
kobject-fix-gfp-flags-type.patch
This tree can be found at
http://www.kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/patches/
Patches currently in gregkh-2.6 which might be from [email protected] are
driver/kobject-fix-gfp-flags-type.patchusb/usb-safe_serial-preprocessor-fix.patch
From [email protected] Tue Oct 4 00:47:46 2005
Date: Tue, 4 Oct 2005 00:45:34 -0700
From: "Randy.Dunlap" <[email protected]>
To: gregkh <[email protected]>, alexey <[email protected]>
Cc: kjo <[email protected]>
Subject: [PATCH] (replacement) kobject: fix gfp flags type
Message-Id: <[email protected]>
From: Randy Dunlap <[email protected]>
Fix implicit nocast warnings in kobject_uevent code, including __nocast:lib/kobject_uevent.c:78:37: warning: implicit cast to nocast type lib/kobject_uevent.c:97:51: warning: implicit cast to nocast type lib/kobject_uevent.c:120:27: warning: implicit cast to nocast type
--- include/linux/kobject.h | 2 +- lib/kobject.c | 2 +- lib/kobject_uevent.c | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-)
include/linux/kobject.h +1 -1
@@ -65,7 +65,7 @@ extern void kobject_unregister(struct koextern struct kobject *kobject_get (struct kobject *);extern void kobject_put (struct kobject *); -extern char *kobject_get_path (struct kobject *,int ); +extern char *kobject_get_path (struct kobject *,unsigned int __nocast );struct kobj_type {void (*release)(struct kobject *);
lib/kobject_uevent.c +3 -3
@@ -62,7 +62,7 @@ static struct sock *uevent_sock;* @gfp_mask: */ static int send_uevent (const char *signal,const char *obj, -char **envp,int gfp_mask) +char **envp,unsigned int __nocast gfp_mask) {struct sk_buff *skb;char *pos;
@@ -98,7 +98,7 @@ static int send_uevent(const char *signa }static int do_kobject_uevent (struct kobject *kobj,enum kobject_action action, -struct attribute *attr,int gfp_mask) +struct attribute *attr,unsigned int __nocast gfp_mask) {char *path;char *attrpath;
@@ -170,7 +170,7 @@ postcore_initcall(kobject_uevent_init);#else static inline int send_uevent (const char *signal,const char *obj, -char **envp,int gfp_mask) +char **envp,unsigned int __nocast gfp_mask) {return 0 ; }
lib/kobject.c +1 -1
@@ -100,7 +100,7 @@ static void fill_kobj_path(struct kobjec* @kobj: kobject in question, with which to build the path * @gfp_mask: the allocation type used to allocate the path */ -char *kobject_get_path (struct kobject *kobj,int gfp_mask) +char *kobject_get_path (struct kobject *kobj,unsigned int __nocast gfp_mask) {char *path;int len;
_______________________________________________
Kernel-janitors mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/kernel-janitors