Messages in this thread | | | Subject | Re: [PATCH] serial167.c: take 2: bugfixes and cleanups | Date | Sat, 26 Aug 2000 11:14:59 +0200 (MEST) | From | (Rogier Wolff) |
| |
Tigran Aivazian wrote: > On Sat, 26 Aug 2000, Rogier Wolff wrote: > > I always try to write the code that calls the "support functions" > > first. As a programmer I'm lazy: I get to write clean code, knowing > > that the support functions will handle the details. In the end it pays > > off. > > > > have a look at fs/super.c:copy_mount_options(), please. It does make use > of the return values from copy_from_user().
Ok. So: we need to retain the old version, and have a new version that is easy-to-use, in a different situation.
Roger.
-- ** R.E.Wolff@BitWizard.nl ** http://www.BitWizard.nl/ ** +31-15-2137555 ** *-- BitWizard writes Linux device drivers for any device you may have! --* * Common sense is the collection of * ****** prejudices acquired by age eighteen. -- Albert Einstein ******** - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
| |