[PATCH 6.1 149/196] coresight: trbe: Return NULL pointer for allocation failures