Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

docs: kabi: system_symbols: end docstring phrases with a dot

Some docstring classes are not ending with a dot. Fix to make it
more uniform.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <efd0e150d8e12d8ea2665f54a96b1997f32897b7.1768838938.git.mchehab+huawei@kernel.org>

authored by

Mauro Carvalho Chehab and committed by
Jonathan Corbet
a50c62d3 ff91637d

+7 -7
+7 -7
tools/lib/python/abi/system_symbols.py
··· 18 18 from abi.helpers import AbiDebug 19 19 20 20 class SystemSymbols: 21 - """Stores arguments for the class and initialize class vars""" 21 + """Stores arguments for the class and initialize class vars.""" 22 22 23 23 def graph_add_file(self, path, link=None): 24 24 """ 25 - add a file path to the sysfs graph stored at self.root 25 + add a file path to the sysfs graph stored at self.root. 26 26 """ 27 27 28 28 if path in self.files: ··· 43 43 self.files.add(path) 44 44 45 45 def print_graph(self, root_prefix="", root=None, level=0): 46 - """Prints a reference tree graph using UTF-8 characters""" 46 + """Prints a reference tree graph using UTF-8 characters.""" 47 47 48 48 if not root: 49 49 root = self.root ··· 173 173 self._walk(sysfs) 174 174 175 175 def check_file(self, refs, found): 176 - """Check missing ABI symbols for a given sysfs file""" 176 + """Check missing ABI symbols for a given sysfs file.""" 177 177 178 178 res_list = [] 179 179 ··· 214 214 return res_list 215 215 216 216 def _ref_interactor(self, root): 217 - """Recursive function to interact over the sysfs tree""" 217 + """Recursive function to interact over the sysfs tree.""" 218 218 219 219 for k, v in root.items(): 220 220 if isinstance(v, dict): ··· 232 232 233 233 234 234 def get_fileref(self, all_refs, chunk_size): 235 - """Interactor to group refs into chunks""" 235 + """Interactor to group refs into chunks.""" 236 236 237 237 n = 0 238 238 refs = [] ··· 250 250 251 251 def check_undefined_symbols(self, max_workers=None, chunk_size=50, 252 252 found=None, dry_run=None): 253 - """Seach ABI for sysfs symbols missing documentation""" 253 + """Seach ABI for sysfs symbols missing documentation.""" 254 254 255 255 self.abi.parse_abi() 256 256