Re: New kernel/resource.c

Chip Salzenberg (chip@perlsupport.com)
Sun, 11 Jul 1999 07:09:13 -0400


According to Jeff Garzik:
> 'flags' in 'struct resource' should be renamed to 'data'. That makes it
> more clear that the entire long is available for usage by the driver.
> It might be a pointer to an additional data structure for example.

If you want to store a pointer, shouldn't 'data' be a union of a long
and a void* ? Or does Linux already assume that pointers can be stored
in longs?

-- 
Chip Salzenberg      - a.k.a. -      <chip@perlsupport.com>
      "When do you work?"   "Whenever I'm not busy."

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/