[PATCH 5.4 068/154] atm: Fix NULL pointer dereference