tty: serial: max3100: Fix error case
We don't want to free a random address if the entry is wrong, cover this and WARN if it ever happens. Signed-off-by: NAlan Cox <alan@linux.intel.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing
想要评论请 注册 或 登录