From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754341AbYAFTbh (ORCPT ); Sun, 6 Jan 2008 14:31:37 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754548AbYAFTbN (ORCPT ); Sun, 6 Jan 2008 14:31:13 -0500 Received: from accolon.hansenpartnership.com ([76.243.235.52]:43286 "EHLO accolon.hansenpartnership.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753754AbYAFTbI (ORCPT ); Sun, 6 Jan 2008 14:31:08 -0500 Subject: Re: [PATCH][SCSI] megaraid: Convert from "scsi.h" to (and friends) From: James Bottomley To: Richard Knutsson Cc: megaraidlinux@lsi.com, linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org In-Reply-To: <20080106190335.28212.90140.sendpatchset@thinktank.campus.ltu.se> References: <20080106190335.28212.90140.sendpatchset@thinktank.campus.ltu.se> Content-Type: text/plain Date: Sun, 06 Jan 2008 13:31:03 -0600 Message-Id: <1199647863.5205.85.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.12.2 (2.12.2-2.fc8) Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 2008-01-06 at 20:03 +0100, Richard Knutsson wrote: > Convert glue-include "scsi.h" to (and friends). > > (binary sizes) > allyesconfig: before: 260132 > after: 260048 > > allmodconfig: before: 261740 > after: 261656 > > Signed-off-by: Richard Knutsson > --- > Do not have the hardware, but since it compiles I hope it is alright. > > > diff --git a/drivers/scsi/megaraid.c b/drivers/scsi/megaraid.c > index 66c6520..9f1e2c5 100644 > --- a/drivers/scsi/megaraid.c > +++ b/drivers/scsi/megaraid.c > @@ -48,8 +48,9 @@ > #include > #include > > -#include "scsi.h" > +#include > #include > +#include I'm afraid this is pretty much wrong. The scsi.h being referred to here is the local scsi.h in the build directory, so it should be included as a string. For #include, "..." means begin the search in the local directory (what is wanted here) and <...> means begin the search starting with the predefined include paths. The rest of the patch looks like a spurious (unrelated and undescribed) downcasing of TRUE and FALSE. James