Re: [PATCH 1/2] kobject: Export kobject_set_name_vargs() symbol

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Aug 13, 2024 at 12:42:34PM +0200, Vasily Gorbik wrote:
> The net/iucv module requires the kobject_set_name_vargs() function to
> set kobject names dynamically based on variable arguments. Export the
> kobject_set_name_vargs() symbol, allowing the net/iucv module and other
> potential modules to use this utility function.
> 
> Reported-by: kernel test robot <lkp@xxxxxxxxx>
> Closes: https://lore.kernel.org/oe-kbuild-all/202408091131.ATGn6YSh-lkp@xxxxxxxxx/
> Signed-off-by: Vasily Gorbik <gor@xxxxxxxxxxxxx>
> ---
>  lib/kobject.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/lib/kobject.c b/lib/kobject.c
> index 72fa20f405f1..96caa8bfdc40 100644
> --- a/lib/kobject.c
> +++ b/lib/kobject.c
> @@ -295,6 +295,7 @@ int kobject_set_name_vargs(struct kobject *kobj, const char *fmt,
>  
>  	return 0;
>  }
> +EXPORT_SYMBOL(kobject_set_name_vargs);

EXPORT_SYMBOL_GPL() please.

thanks,

greg k-h




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Kernel Development]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Info]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Linux Media]     [Device Mapper]

  Powered by Linux