Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Fri, 12 Jul 2002 23:28:58 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Fri, 12 Jul 2002 23:28:57 -0400 Received: from pD952ACB5.dip.t-dialin.net ([217.82.172.181]:25225 "EHLO hawkeye.luckynet.adm") by vger.kernel.org with ESMTP id ; Fri, 12 Jul 2002 23:28:55 -0400 Date: Fri, 12 Jul 2002 21:31:34 -0600 (MDT) From: Thunder from the hill X-X-Sender: thunder@hawkeye.luckynet.adm To: Linux Kernel Mailing List Subject: Further madness in fs/partitions/check.c? Message-ID: X-Location: Potsdam; Germany 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: 905 Lines: 29 Hi, struct device contains a void * driver_data. It should certainly point to a couple of bytes where the driver data was saved. In line 288, we have this: current_driverfs_dev->driver_data = (void *)__mkdev(hd->major, minor+part); What kind of pointer should we get here? ;-) Can the author please explain what was intented here? Regards, Thunder -- (Use http://www.ebb.org/ungeek if you can't decode) ------BEGIN GEEK CODE BLOCK------ Version: 3.12 GCS/E/G/S/AT d- s++:-- a? C++$ ULAVHI++++$ P++$ L++++(+++++)$ E W-$ N--- o? K? w-- O- M V$ PS+ PE- Y- PGP+ t+ 5+ X+ R- !tv b++ DI? !D G e++++ h* r--- y- ------END GEEK CODE BLOCK------ - 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/