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

Commit dd57c1bb 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: Handle null pointer dereference"

parents 9bf8e956 8538083a
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -780,8 +780,10 @@ msm_get_build_id(struct device *dev,
		   struct device_attribute *attr,
		   char *buf)
{
	if (socinfo_get_build_id())
		return snprintf(buf, PAGE_SIZE, "%-.32s\n",
				socinfo_get_build_id());
	return 0;
}

static ssize_t