Messages in this thread | | | Date | Mon, 8 Sep 2003 20:40:23 +0200 | From | Andries Brouwer <> | Subject | Re: [PATCH] use size_t for the broken ioctl numbers |
| |
On Mon, Sep 08, 2003 at 08:13:53AM -0700, Linus Torvalds wrote:
> I'd _much_ rather have a comment than make up some new "bad define" thing.
Pity.
(It is not important, but having the type formally visible makes it easier to do automatic verification of contexts like FOOIOCTL: { struct foo_arg *uarg = (struct foo_arg *) arg; err = handle_fooioctl(fd, uarg); break; } One might even wish to generate them automatically. I think relegating the type to a comment is a microstep in the wrong direction.)
Andries
[That reminds me - you announced sparse, a source checker. Is it available for non bk users? I haven't seen a URL.]
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |