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]
Message-ID: <50934.71.111.78.224.1291758478.squirrel@xenotime.net>
Date:	Tue, 7 Dec 2010 13:47:58 -0800 (PST)
From:	"Randy Dunlap" <rdunlap@...otime.net>
To:	"Jan Beulich" <JBeulich@...ell.com>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] name_to_dev_t() must not call __init code


On Tue, December 7, 2010 7:02 am, Jan Beulich wrote:
> The function can't be __init itself (being called from some sysfs
> handler), and hence none of the functions it call can be either.
>
> Signed-off-by: Jan Beulich <jbeulich@...ell.com>
>

Acked-by: Randy Dunlap <randy.dunlap@...cle.com>

>
> ---
> init/do_mounts.c |    2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
>
>
> --- linux-2.6.37-rc5/init/do_mounts.c
> +++ 2.6.37-rc5-do_mounts-sections/init/do_mounts.c
> @@ -93,7 +93,7 @@ no_match:
> *
> * Returns the matching dev_t on success or 0 on failure.
> */
> -static dev_t __init devt_from_partuuid(char *uuid_str)
> +static dev_t devt_from_partuuid(char *uuid_str)
> {
> dev_t res = 0; struct device *dev = NULL;
>
>
>
> --

-- 
~Randy

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