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] [day] [month] [year] [list]
Date:	Wed, 08 Jun 2011 07:05:11 +0200
From:	Németh Márton <nm127@...email.hu>
To:	Greg KH <greg@...ah.com>
CC:	Greg Kroah-Hartman <gregkh@...e.de>,
	Matt Mooney <mfm@...eddisk.com>,
	Endre Kollar <taxy443@...il.com>,
	Ilia Mirkin <imirkin@...m.mit.edu>,
	usbip-devel@...ts.sourceforge.net, devel@...verdev.osuosl.org,
	LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] usbip: change match_busid() to local function

Forget it, this change is already there in the
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging-2.6.git ,
on staging-next branch. I just forget to switch the branch from master
after cloning the staging-2.6 repository.

Regards,

	Márton Németh

Németh Márton wrote:
> From: Márton Németh <nm127@...email.hu>
> 
> The function match_busid() is only referenced in the stub_main.c so it can be changed
> to static. This will remove the following warning when compiling with "make W=1 ...":
>  * drivers/staging/usbip/stub_main.c:40: warning: no previous prototype for ‘match_busid’
> 
> Signed-off-by: Márton Németh <nm127@...email.hu>
> ---
> diff --git a/drivers/staging/usbip/stub_main.c b/drivers/staging/usbip/stub_main.c
> index e9085d6..fc5b829 100644
> --- a/drivers/staging/usbip/stub_main.c
> +++ b/drivers/staging/usbip/stub_main.c
> @@ -37,7 +37,7 @@ struct kmem_cache *stub_priv_cache;
>  static struct bus_id_priv busid_table[MAX_BUSID];
>  static spinlock_t busid_table_lock;
> 
> -int match_busid(const char *busid)
> +static int match_busid(const char *busid)
>  {
>  	int i;
> 
> 

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