Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 30 Jul 2002 12:23:37 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 30 Jul 2002 12:23:36 -0400 Received: from tmr-02.dsl.thebiz.net ([216.238.38.204]:31245 "EHLO gatekeeper.tmr.com") by vger.kernel.org with ESMTP id ; Tue, 30 Jul 2002 12:23:35 -0400 Date: Tue, 30 Jul 2002 12:21:04 -0400 (EDT) From: Bill Davidsen To: Dominik Brodowski cc: davej@suse.de, torvalds@transmeta.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH] resolve ACPI oops on boot In-Reply-To: <20020724005518.A837@brodo.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 826 Lines: 20 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 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/