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

Commit ed54cb1b authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "soc: qcom: socinfo: Fix to print correct images information"

parents 5e5c8b55 e51c1596
Loading
Loading
Loading
Loading
+3 −1
Original line number Original line Diff line number Diff line
@@ -967,8 +967,10 @@ msm_get_images(struct device *dev,


	*buf = '\0';
	*buf = '\0';
	for (image = 0; image < SMEM_IMAGE_VERSION_BLOCKS_COUNT; image++) {
	for (image = 0; image < SMEM_IMAGE_VERSION_BLOCKS_COUNT; image++) {
		if (*image_address == '\0')
		if (*image_address == '\0') {
			image_address += SMEM_IMAGE_VERSION_SINGLE_BLOCK_SIZE;
			continue;
			continue;
		}


		pos += snprintf(buf + pos, PAGE_SIZE - pos, "%d:\n",
		pos += snprintf(buf + pos, PAGE_SIZE - pos, "%d:\n",
				image);
				image);