From: "David S. Miller" Subject: Re: [PATCH 2.6 NET] Fix ifmap alignment issues over rtnetlink Date: Tue, 21 Sep 2004 17:21:26 -0700 Sender: netdev-bounce@oss.sgi.com Message-ID: <20040921172126.02e0006e.davem@davemloft.net> References: <20040921224127.GM566@postel.suug.ch> <20040921165733.3e0d31d8.davem@davemloft.net> <20040922000325.GN566@postel.suug.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: netdev@oss.sgi.com Return-path: To: Thomas Graf In-Reply-To: <20040922000325.GN566@postel.suug.ch> Errors-to: netdev-bounce@oss.sgi.com List-Id: netdev.vger.kernel.org On Wed, 22 Sep 2004 02:03:25 +0200 Thomas Graf wrote: > * David S. Miller <20040921165733.3e0d31d8.davem@davemloft.net> 2004-09-21 16:57 > > On Wed, 22 Sep 2004 00:41:27 +0200 > > Thomas Graf wrote: > > > > > + k_map.mem_start = (unsigned long) u_map->mem_start; > > > + k_map.mem_end = (unsigned long) u_map->mem_end; > > > + k_map.base_addr = (unsigned short) u_map->base_addr; > > > + k_map.irq = (unsigned char) u_map->irq; > > > + k_map.dma = (unsigned char) u_map->dma; > > > + k_map.port = (unsigned char) u_map->port; > > > > Please cast to the actual types that struct ifmap uses, > > otherwise the change is OK. > > It is or am I missing something? I'm retarded and I was looking at the wrong structure definition, sorry. Please resend your patch to me via private email and I'll add it to my tree, thanks Thomas.