Re: [PATCH] resolve ACPI oops on boot

Bill Davidsen (davidsen@tmr.com)
Tue, 30 Jul 2002 12:21:04 -0400 (EDT)


On Wed, 24 Jul 2002, Dominik Brodowski wrote:

> The casts were probably introduced for that reason. Per se, they are not
> critical - but if there is any assumption later on that the data structure
> is indeed of the large size, there is a problem.

Perhaps the pointer chould be (void *) everywhere, and then cast to the
right size where and when it is used. Clearly casting the pointer to a
larger size will result in allignment issues on some machines.

-- 
bill davidsen <davidsen@tmr.com>
  CTO, TMR Associates, Inc
Doing interesting things with little computers since 1979.

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