We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1dd38ae commit 5511c0cCopy full SHA for 5511c0c
drivers/hwtracing/coresight/coresight-etm-perf.c
@@ -544,6 +544,7 @@ int etm_perf_add_symlink_sink(struct coresight_device *csdev)
544
/* See function coresight_get_sink_by_id() to know where this is used */
545
hash = hashlen_hash(hashlen_string(NULL, name));
546
547
+ sysfs_attr_init(&ea->attr.attr);
548
ea->attr.attr.name = devm_kstrdup(dev, name, GFP_KERNEL);
549
if (!ea->attr.attr.name)
550
return -ENOMEM;
0 commit comments