Re: [PATCH 6/7] scsi/megaraid: fix sparse warnings

From: Arnd Bergmann
Date: Sat May 12 2012 - 09:03:02 EST


On Friday 11 May 2012, adam radford wrote:
>
> On Fri, May 11, 2012 at 3:09 PM, <mathieu.poirier@xxxxxxxxxx> wrote:
> > From: Arnd Bergmann <arnd@xxxxxxxx>
> >
> ...
> > diff --git a/drivers/scsi/megaraid/megaraid_sas_fusion.c b/drivers/scsi/megaraid/megaraid_sas_fusion.c
> > index bfd87fa..234ad74 100644
> > --- a/drivers/scsi/megaraid/megaraid_sas_fusion.c
> > +++ b/drivers/scsi/megaraid/megaraid_sas_fusion.c
> > @@ -51,55 +51,16 @@
> > #include <scsi/scsi_device.h>
> > #include <scsi/scsi_host.h>
> >
> > +#include "mega_common.h"
>
> Do not include mega_common.h in the megaraid_sas driver. It has
> nothing to do with this driver. It is for the older Parallel SCSI
> megaraid drivers.

Ok. I think I first tried moving all declarations into mega_common.h
and then decided otherwise but forgot to remove that #include statement
again. Thanks for taking a look!

Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/