Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 421bf80c authored by Scott Teel's avatar Scott Teel Committed by Martin K. Petersen
Browse files

scsi: hpsa: clear tmpdevice in scan thread

parent 55ca38b4
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -4258,6 +4258,8 @@ static void hpsa_update_scsi_devices(struct ctlr_info *h)
		int phys_dev_index = i - (raid_ctlr_position == 0);
		bool skip_device = false;

		memset(tmpdevice, 0, sizeof(*tmpdevice));

		physical_device = i < nphysicals + (raid_ctlr_position == 0);

		/* Figure out where the LUN ID info is coming from */