Skip to content

debugfs: adding helper for single seq_file

Greg Kroah-Hartman ath9k-devel linux-wireless 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3debugfs: add helper function to create device related seq_file+0 -00 replies
2/3ath: use seq_file api for ath9k debugfs files+0 -02 replies
2/3ath: use seq_file api for ath9k debugfs files+0 -00 replies
3/3ath: ath9k: use debugfs_create_devm_seqfile() helper for seq_file entries+0 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [ath9k-devel] [PATCH 0/3] debugfs: adding helper for single seq_file
Quoted 27 lines · John W. Linville
Quoted 20 lines · Arend van Spriel

The first patch was already posted earlier:

Message-ID: <[email protected]>

This series include changes in driver code to investigate potential code savings. As example used the ath9k driver as it has a fair amount of debugfs files. In this series it changes 7 debugfs entries to use seq_file and the helper function. Below the output of the size utility:

   text	   data	    bss	    dec	    hex	filename
 115968	   1225	     28	 117221	  1c9e5	original/ath9k.o
 113224	   1225	     28	 114477	  1bf2d	seq_file/ath9k.o
 111024	   1225	     28	 112277	  1b695	helper/ath9k.o

This series is for 3.19 kernel and applies to the driver-core-next branch of the driver-core repository. If needed the ath9k patches may be dropped for now and I will resubmit them to wireless-next once the debugfs patch has made it into linux-next.

Quoted 5 lines

Arend van Spriel (3):
debugfs: add helper function to create device related seq_file
ath: use seq_file api for ath9k debugfs files
ath: ath9k: use debugfs_create_devm_seqfile() helper for seq_file
entries

Quoted 4 lines

Greg,

If you are happy with the debugfs change then feel free to merge the wireless patches along with it.

Ok, will do, can I get your Ack for them?

thanks,

greg k-h