[PATCH 5.4 198/367] rpmsg: glink: Add check for kstrdup