From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 15754 invoked from network); 8 Jun 1999 06:19:49 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 8 Jun 1999 06:19:49 -0000 Received: from se_cometome.sec.samsung.com ([203.241.151.34]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id BAA27349 for ; Tue, 8 Jun 1999 01:31:50 -0400 Received: by se_cometome with Internet Mail Service (5.5.2448.0) id ; Tue, 8 Jun 1999 14:27:40 +0900 Message-ID: <73F63B52E3A7D111B20900A0C96C0FD77B1931@kh_exchange1> From: Hyung Min SEO To: mlord@pobox.com, gadio@netvision.net.il Cc: axp-list@redhat.com Subject: Question about ide-disk.c file. Date: Tue, 8 Jun 1999 14:24:32 +0900 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2448.0) Content-Type: text/plain Hi. In "drivers/block/ide-disk.c" file, there is "*(int *)&id->cur_capacity0 = id->lba_capacity;" on the line 780 in kernel version 2.2.7. I think it is same with "id->cur_capacity0 = id->lba_capacity;". Why does it programed like that? I have some trouble with that. But if I use "id->cur_capacity0 = id- >lba_capacity;", the kernel is good. I don't know that reason exactly. Thank you.