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>] [day] [month] [year] [list]
Message-Id: <1300459189-32573-1-git-send-email-bgat@billgatliff.com>
Date:	Fri, 18 Mar 2011 09:39:49 -0500
From:	Bill Gatliff <bgat@...lgatliff.com>
To:	linux-kernel@...r.kernel.org, hunold@...uxtv.org
Cc:	Bill Gatliff <bgat@...lgatliff.com>
Subject: [PATCH] kobject: export kobject_set_name_vargs

Applies EXPORT_SYMBOL to kobject_set_name_vargs().  As the function
itself is not marked static, it appears as though the function was
intended to be exported.

Among possibly others, the upcoming Generic PWM API code uses
kobject_set_name_vargs().  This function must be exported if users
wish to call it from kernel modules.

Signed-off-by: Bill Gatliff <bgat@...lgatliff.com>
---
 lib/kobject.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/lib/kobject.c b/lib/kobject.c
index 82dc34c..43f5b09 100644
--- a/lib/kobject.c
+++ b/lib/kobject.c
@@ -232,6 +232,7 @@ int kobject_set_name_vargs(struct kobject *kobj, const char *fmt,
 	kfree(old_name);
 	return 0;
 }
+EXPORT_SYMBOL(kobject_set_name_vargs);
 
 /**
  * kobject_set_name - Set the name of a kobject
-- 
1.7.2.3

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