]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
fix up perf backport on 4.14
authorSasha Levin <sashal@kernel.org>
Mon, 19 Aug 2019 17:10:25 +0000 (13:10 -0400)
committerSasha Levin <sashal@kernel.org>
Mon, 19 Aug 2019 17:10:25 +0000 (13:10 -0400)
Signed-off-by: Sasha Levin <sashal@kernel.org>
queue-4.14/perf-header-fix-divide-by-zero-error-if-f_header.att.patch

index e14414347d80c13886e0f56d86619de624a42176..1f48a68a1dc22a30256ccbe193fa02beb868aea6 100644 (file)
@@ -40,7 +40,7 @@ index c892a28e7b048..baec3e9833256 100644
 +      if (f_header.attr_size == 0) {
 +              pr_err("ERROR: The %s file's attr size field is 0 which is unexpected.\n"
 +                     "Was the 'perf record' command properly terminated?\n",
-+                     data->file.path);
++                     file->path);
 +              return -EINVAL;
 +      }
 +