Skip to contentSkip to conversation

nfs: cleanup tracepoint declarations

PATCH In review Leo Martins 2 participants 2 messages Aug 21, 2025

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 nfs: cleanup tracepoint declarations

Cleanup tracepoint declarations by replacing commas with semicolons to better match other tracepoint declarations.

No functional changes introduced.

---
 fs/nfs/nfstrace.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
fs/nfs/nfstrace.h +3 -3
index 96b1323318c2..d7ddf3bb5402 100644
@@ -966,7 +966,7 @@ DECLARE_EVENT_CLASS(nfs_folio_event,
 			__entry->fileid = nfsi->fileid;
 			__entry->fhandle = nfs_fhandle_hash(&nfsi->fh);
 			__entry->version = inode_peek_iversion_raw(inode);
-			__entry->offset = offset,
+			__entry->offset = offset;
 			__entry->count = count;
 		),
 
@@ -1016,8 +1016,8 @@ DECLARE_EVENT_CLASS(nfs_folio_event_done,
 			__entry->fileid = nfsi->fileid;
 			__entry->fhandle = nfs_fhandle_hash(&nfsi->fh);
 			__entry->version = inode_peek_iversion_raw(inode);
-			__entry->offset = offset,
-			__entry->count = count,
+			__entry->offset = offset;
+			__entry->count = count;
 			__entry->ret = ret;
 		),
 
Signature · 1 line
2.47.3
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 24 lines · Leo Martins

Cleanup tracepoint declarations by replacing commas with semicolons to better match other tracepoint declarations.

No functional changes introduced.

---
 fs/nfs/nfstrace.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
fs/nfs/nfstrace.h +1 -1
index 96b1323318c2..d7ddf3bb5402 100644
@@ -966,7 +966,7 @@ DECLARE_EVENT_CLASS(nfs_folio_event,
 			__entry->fileid = nfsi->fileid;
 			__entry->fhandle = nfs_fhandle_hash(&nfsi->fh);
 			__entry->version = inode_peek_iversion_raw(inode);
-			__entry->offset = offset,
+			__entry->offset = offset;
 			__entry->count = count;
 		),
 

fs/nfs/nfstrace.h DECLARE_EVENT_CLASS(nfs_folio_event_done, · line 1023

Quoted 10 lines
fs/nfs/nfstrace.h +2 -2
@@ -1016,8 +1016,8 @@ DECLARE_EVENT_CLASS(nfs_folio_event_done,
 			__entry->fileid = nfsi->fileid;
 			__entry->fhandle = nfs_fhandle_hash(&nfsi->fh);
 			__entry->version = inode_peek_iversion_raw(inode);
-			__entry->offset = offset,
-			__entry->count = count,
+			__entry->offset = offset;
+			__entry->count = count;
 			__entry->ret = ret;
 		),
 

Harmless in this case (luckily), but it's nice to remove a potential footgun.