Re: [PATCH 2.6] 4/7 replace uml_strdup by kstrdup

From: Pekka Enberg
Date: Wed Feb 02 2005 - 02:54:17 EST


On Tue, 1 Feb 2005 03:28:31 +0000, pmarques@xxxxxxxxxxxx
<pmarques@xxxxxxxxxxxx> wrote:
> diff -buprN -X dontdiff vanilla-2.6.11-rc2-bk9/arch/um/os-Linux/drivers/tuntap_user.c linux-2.6.11-rc2-bk9/arch/um/os-Linux/drivers/tuntap_user.c
> --- vanilla-2.6.11-rc2-bk9/arch/um/os-Linux/drivers/tuntap_user.c 2004-12-24 21:35:40.000000000 +0000
> +++ linux-2.6.11-rc2-bk9/arch/um/os-Linux/drivers/tuntap_user.c 2005-01-31 20:39:08.591154025 +0000

[snip]

> - pri->dev_name = uml_strdup(buffer);
> + pri->dev_name = kstrdup(buffer);

Please compile-test before submitting.

Pekka
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/