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: Michael Ellerman <hidden>
Date: 2021-02-03 12:40:32

On Thu, 10 Dec 2020 15:35:38 +0100, Markus Elfring wrote:
A local variable was used only within an if branch.
Thus move the definition for the variable ���mm��� into the corresponding
code block.

This issue was detected by using the Coccinelle software.
Applied to powerpc/next.

[1/1] cxl: Reduce scope for the variable ���mm��� in cxllib_get_PE_attributes()
      https://git.kernel.org/powerpc/c/245a389c6ded15a7d308dbe988aec8a96e8aa8cf

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