mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 2.6.13] Warning in the qla2xxx driver
@ 2005-09-01 19:38 Daniel Walker
  2005-09-08 15:17 ` Andrew Vasquez
  0 siblings, 1 reply; 2+ messages in thread
From: Daniel Walker @ 2005-09-01 19:38 UTC (permalink / raw)
  To: akpm; +Cc: linux-kernel



Remove possible uninitialized "sg" field warning in the qla24xx driver

Signed-Off-By: Daniel Walker <dwalker@mvista.com>

Index: linux-2.6.13/drivers/scsi/qla2xxx/qla_iocb.c
===================================================================
--- linux-2.6.13.orig/drivers/scsi/qla2xxx/qla_iocb.c	2005-08-28 23:41:01.000000000 +0000
+++ linux-2.6.13/drivers/scsi/qla2xxx/qla_iocb.c	2005-08-31 18:31:03.000000000 +0000
@@ -744,7 +744,7 @@ qla24xx_start_scsi(srb_t *sp)
 	uint32_t        index;
 	uint32_t	handle;
 	struct cmd_type_7 *cmd_pkt;
-	struct scatterlist *sg;
+	struct scatterlist *sg = NULL;
 	uint16_t	cnt;
 	uint16_t	req_cnt;
 	uint16_t	tot_dsds;



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-09-08 15:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-09-01 19:38 [PATCH 2.6.13] Warning in the qla2xxx driver Daniel Walker
2005-09-08 15:17 ` Andrew Vasquez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®