From 5df98fd0a5d24fd082889eb1448cf68199f77cd9 Mon Sep 17 00:00:00 2001 From: Ben Hutchings Date: Mon, 6 Nov 2017 02:50:25 +0000 Subject: [PATCH] mct_u232: Fix use of uninitialized pointer in mct_u323_startup() My backport of commit 4e9a0b05257f "USB: mct_u232: add sanity checking in probe" incorrectly added a dev_err() call using port->dev before 'port' was initialised. Use the 'serial' parameter to look up the device instead. Signed-off-by: Ben Hutchings --- Reading git-format-patch failed