exynos5: avoid NULL deref in error case

Reported by:	Dr Silvio Cesare of InfoSect
MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Ed Maste 2019-08-30 00:34:27 +00:00
parent 13c73428dc
commit b2f68d35aa
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=351618

View File

@ -314,7 +314,7 @@ combiner_setup_intr(char *source_name, void (*ih)(void *), void *ih_user)
sc = combiner_sc;
if (sc == NULL) {
device_printf(sc->dev, "Error: combiner is not attached\n");
printf("%s: error: combiner is not attached\n", __func__);
return;
}