[PATCH 4.19 208/243] coresight: etm4x: Fix input validation for sysfs.