RE: [RFC] [PATCH 4/5] qla4xxx: Add IPv6 support and misc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> From: Mike Christie [mailto:michaelc@xxxxxxxxxxx]
> Sent: Monday, May 07, 2007 11:31 AM
> David C Somayajulu wrote:
> > Signed-off-by: David Somayajulu <david.somayajulu@xxxxxxxxxx>
> >
> > ---
> >  drivers/scsi/qla4xxx/ql4_mbx.c     |  190 ++++++++++------
> >
> > diff --git a/drivers/scsi/qla4xxx/ql4_mbx.c
b/drivers/scsi/qla4xxx/ql4_mbx.c
> > index 7f28657..0ef777a 100644
> > --- a/drivers/scsi/qla4xxx/ql4_mbx.c
> > +++ b/drivers/scsi/qla4xxx/ql4_mbx.c
> > @@ -6,6 +6,10 @@
> >   */
> >
> >  #include "ql4_def.h"
> > +#include "ql4_version.h"
> > +#include "ql4_glbl.h"
> > +#include "ql4_dbg.h"
> > +#include "ql4_inline.h"
> 
> Did you need to bring in all of these? You did not need version did
you?
Thanks for pointing it out. In fact it is needed only in ql4_os.c. I
think I will get rid of the ql4_version.h and simply place the version#
in ql4_os.c

> 
> >
> > -	memset((void *)fw_ddb_entry->iSCSIAlias, 0,
> > -	       sizeof(fw_ddb_entry->iSCSIAlias));
> > +	memset((void *)fw_ddb_entry->iscsi_alias, 0,
> > +	       sizeof(fw_ddb_entry->iscsi_alias));
> >
> > -	memset((void *)fw_ddb_entry->iscsiName, 0,
> > -	       sizeof(fw_ddb_entry->iscsiName));
> > +	memset((void *)fw_ddb_entry->iscsi_name, 0,
> > +	       sizeof(fw_ddb_entry->iscsi_name));
> >
> > -	memset((void *)fw_ddb_entry->ipAddr, 0,
sizeof(fw_ddb_entry->ipAddr));
> > -	memset((void *)fw_ddb_entry->targetAddr, 0,
> > -	       sizeof(fw_ddb_entry->targetAddr));
> > +	memset((void *)fw_ddb_entry->ip_addr, 0,
sizeof(fw_ddb_entry->ip_addr));
> > +	memset((void *)fw_ddb_entry->tgt_addr, 0,
> > +	       sizeof(fw_ddb_entry->tgt_addr));
> >
> 
> I am not sure if it is a big deal or if it clutters the code, but I do
> not think you need the void * casts in there.
Will clean it as well.
-david S.
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux