From d8fcbf62abc73a67fcb39345611b185ebd350807 Mon Sep 17 00:00:00 2001 From: "xypron.glpk@gmx.de" Date: Tue, 17 May 2016 22:28:54 +0200 Subject: [PATCH] net: ehea: avoid null pointer dereference commit 1740c29a46b30a2f157afc473156f157e599d4c2 upstream. ehea_get_port may return NULL. Do not dereference NULL value. Fixes: 8c4877a4128e ("ehea: Use the standard logging functions") Signed-off-by: Heinrich Schuchardt Acked-by: Thadeu Lima de Souza Cascardo Signed-off-by: David S. Miller Signed-off-by: Ben Hutchings --- Reading git-format-patch failed