[PATCH 04/10] uml: fix modify_ldt - missing break in switch

From: Paolo 'Blaisorblade' Giarrusso
Date: Wed Sep 21 2005 - 11:48:37 EST


From: Paolo 'Blaisorblade' Giarrusso <blaisorblade@xxxxxxxx>

I am a lamer :-(. Luckily, Luo Xin performed LTP testing and found this failure.
Btw, the fact that the patch in which I introduced this was merged shows that:

a) I'm really trusted by people
b) sometimes they're wrong about point a).
c) lack of time for reviewers.

CC: Luo Xin <luothing@xxxxxxxx>
Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@xxxxxxxx>
---

arch/um/sys-i386/ldt.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/um/sys-i386/ldt.c b/arch/um/sys-i386/ldt.c
--- a/arch/um/sys-i386/ldt.c
+++ b/arch/um/sys-i386/ldt.c
@@ -83,6 +83,7 @@ int sys_modify_ldt(int func, void __user
goto out;
}
p = buf;
+ break;
default:
res = -ENOSYS;
goto out;

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