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: <20081031170227.GC24826@kroah.com>
Date:	Fri, 31 Oct 2008 10:02:27 -0700
From:	Greg KH <greg@...ah.com>
To:	Kay Sievers <kay.sievers@...y.org>
Cc:	linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: driver core: struct device - replace bus_id with dev_name(),
	dev_set_name()

On Thu, Oct 30, 2008 at 01:36:48AM +0100, Kay Sievers wrote: index 5437ac0..c9c214d 100644
> --- a/include/linux/kobject.h
> +++ b/include/linux/kobject.h
> @@ -72,6 +72,8 @@ struct kobject {
>  
>  extern int kobject_set_name(struct kobject *kobj, const char *name, ...)
>  			    __attribute__((format(printf, 2, 3)));
> +extern int kobject_set_name_vargs(struct kobject *kobj, const char *fmt,
> +				  va_list vargs);
>  
>  static inline const char *kobject_name(const struct kobject *kobj)
>  {
> diff --git a/lib/kobject.c b/lib/kobject.c
> index 0487d1f..a6dec32 100644
> --- a/lib/kobject.c
> +++ b/lib/kobject.c
> @@ -212,7 +212,7 @@ static int kobject_add_internal(struct kobject *kobj)
>   * @fmt: format string used to build the name
>   * @vargs: vargs to format the string.
>   */
> -static int kobject_set_name_vargs(struct kobject *kobj, const char *fmt,
> +int kobject_set_name_vargs(struct kobject *kobj, const char *fmt,
>  				  va_list vargs)
>  {
>  	const char *old_name = kobj->name;
> 

I cut this part out of this patch, as it's not needed here, and applied
the rest.

thanks,

greg k-h
--
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