uml: Eliminate temporary buffer in eth_configure
authorPaolo 'Blaisorblade' Giarrusso <[email protected]>
Sun, 6 May 2007 21:51:14 +0000 (14:51 -0700)
committerLinus Torvalds <[email protected]>
Mon, 7 May 2007 19:13:02 +0000 (12:13 -0700)
commit8c8408358f19a386298744829bf67b90c129ff18
treedd2b57ba36e912b4d586678324758afddc236fee
parente024715f5f6250179a31716a898800a48cf23b39
uml: Eliminate temporary buffer in eth_configure

Avoid using the temporary buffer introduced by previous patch to hold the
device name.

Btw, avoid leaking device on an error path.  Other error paths may need
cleanup.

Signed-off-by: Paolo 'Blaisorblade' Giarrusso <[email protected]>
Signed-off-by: Jeff Dike <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
arch/um/drivers/net_kern.c