Thread (4 messages) flat view 4 messages, 3 authors, 2021-02-03

Re: [PATCH] cxl: Reduce scope for the variable “mm” in cxllib_get_PE_attributes()

From: Markus Elfring <hidden>
Date: 2020-12-10 16:10:38

quoted
A local variable was used only within an if branch.
Thus move the definition for the variable “mm” into the corresponding
code block.
You did nothing here except add a checkpatch warning :(
elfring@Sonne:~/Projekte/Linux/next-patched> scripts/checkpatch.pl /home/elfring/Projekte/Bau/Linux/scripts/Coccinelle/tuning1/next/20201204/Flicken/0001-cxl-Reduce-scope-for-the-variable-mm-in-cxllib_get_P.patch
total: 0 errors, 0 warnings, 16 lines checked

Regards,
Markus
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help