linux/drivers/misc/cxl
Markus Elfring 245a389c6d cxl: Reduce scope for the variable “mm” in cxllib_get_PE_attributes()
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.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/5cee2b25-71e0-15aa-fba6-12211b8308aa@web.de
2021-01-31 22:35:50 +11:00
..
api.c Merge branch 'work.mount0' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2019-07-19 10:42:02 -07:00
base.c
context.c misc: cxl: use mmgrab 2020-01-14 15:16:50 +01:00
cxl.h
cxllib.c cxl: Reduce scope for the variable “mm” in cxllib_get_PE_attributes() 2021-01-31 22:35:50 +11:00
debugfs.c
fault.c mmap locking API: use coccinelle to convert mmap_sem rwsem call sites 2020-06-09 09:39:14 -07:00
file.c
flash.c misc: cxl: flash: Remove unused variable 'drc_index' 2020-07-10 14:55:24 +02:00
guest.c
hcalls.c misc: cxl: hcalls: Demote half-assed kerneldoc attempt 2020-07-01 15:08:05 +02:00
hcalls.h
irq.c
Kconfig cxl: Remove dead Kconfig options 2020-06-02 20:59:21 +10:00
main.c powerpc/64s/radix: introduce options to disable use of the tlbie instruction 2019-09-05 14:22:41 +10:00
Makefile
native.c
of.c
pci.c cxl: Rework error message for incompatible slots 2020-08-25 01:31:32 +10:00
sysfs.c cxl: Fix kobject memleak 2020-06-29 18:12:53 +02:00
trace.c
trace.h
vphb.c cxl: Change PCIBIOS_SUCCESSFUL to 0 2020-07-13 15:39:52 +02:00