aboutsummaryrefslogtreecommitdiff
path: root/arch/um/drivers/net_kern.c
diff options
context:
space:
mode:
authorJeff Dike <[email protected]>2007-07-23 18:43:47 -0700
committerLinus Torvalds <[email protected]>2007-07-24 12:24:58 -0700
commitda3e30e78ed9652322dccb49fa149e7b4e985f74 (patch)
treef0d8556e419be265e645d0a6f5ead070ee0aded2 /arch/um/drivers/net_kern.c
parent1a65f493c335abc3822291b52f3565776ce39a1b (diff)
uml: fix aio compilation bug
Restructure do_aio thanks to commments from Ulrich and Al. Uli started this by seeing that UML's initialization of a struct iocb initialized fields that it shouldn't. Al followed up by adding the following cleanups: eliminating a variable by just using an anonymous structure in its place. hoisting a duplicated line out of the switch. simplifying the error checking at the end. I added a severity to the printk. Signed-off-by: Jeff Dike <[email protected]> Cc: Al Viro <[email protected]> Cc: Ulrich Drepper <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'arch/um/drivers/net_kern.c')
0 files changed, 0 insertions, 0 deletions