]> git.hungrycats.org Git - linux/commit
btrfs: tracepoints: end assignment with semicolon at btrfs_qgroup_extent event class
authorFilipe Manana <fdmanana@suse.com>
Wed, 25 Sep 2024 10:38:55 +0000 (11:38 +0100)
committerDavid Sterba <dsterba@suse.com>
Tue, 1 Oct 2024 17:14:10 +0000 (19:14 +0200)
commit50c6f6e6806c65e41a039f0edef0816974403253
tree27bc9e9d472cb7eb052ffbf7799b1af13361e50f
parentdb7e68b522c01eb666cfe1f31637775f18997811
btrfs: tracepoints: end assignment with semicolon at btrfs_qgroup_extent event class

While running checkpatch.pl against a patch that modifies the
btrfs_qgroup_extent event class, it complained about using a comma instead
of a semicolon:

  $ ./scripts/checkpatch.pl qgroups/0003-btrfs-qgroups-remove-bytenr-field-from-struct-btrfs_.patch
  WARNING: Possible comma where semicolon could be used
  #215: FILE: include/trace/events/btrfs.h:1720:
  + __entry->bytenr = bytenr,
__entry->num_bytes = rec->num_bytes;

  total: 0 errors, 1 warnings, 184 lines checked

So replace the comma with a semicolon to silence checkpatch and possibly
other tools. It also makes the code consistent with the rest.

Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
include/trace/events/btrfs.h