Commit dceddeec authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman
Browse files

Merge tag 'stratix10_rsu_fix_for_v7.0' of...

Merge tag 'stratix10_rsu_fix_for_v7.0' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/dinguyen/linux into work-linus

Dinh writes:

firmware: stratix10-rsu: fix NULL pointer dereference when RSU is disabled
- Fix a kernel panic that happens in the driver when the First Stage Boot Loader
  has not enabled the Remote System Update(RSU).

* tag 'stratix10_rsu_fix_for_v7.0' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/dinguyen/linux:
  firmware: stratix10-rsu: Fix NULL pointer dereference when RSU is disabled
parents 6de23f81 c45f7263
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -768,7 +768,9 @@ static int stratix10_rsu_probe(struct platform_device *pdev)
				 rsu_async_status_callback);
	if (ret) {
		dev_err(dev, "Error, getting RSU status %i\n", ret);
		stratix10_svc_remove_async_client(priv->chan);
		stratix10_svc_free_channel(priv->chan);
		return ret;
	}

	/* get DCMF version from firmware */