diff options
author | Julia Lawall <[email protected]> | 2019-12-29 16:42:55 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2020-01-14 15:16:50 +0100 |
commit | e10e02464396e1a322338d43c5a931ebda1544ea (patch) | |
tree | e72083d7fb6aa0bbadef71f703c13cf4241fbeb1 /drivers/usb/cdns3/cdns3-debug.h | |
parent | 191941692a3d1b6a9614502b279be062926b70f5 (diff) |
misc: cxl: use mmgrab
Mmgrab was introduced in commit f1f1007644ff ("mm: add new mmgrab()
helper") and most of the kernel was updated to use it. Update a
remaining file.
The semantic patch that makes this change is as follows:
(http://coccinelle.lip6.fr/)
<smpl>
@@ expression e; @@
- atomic_inc(&e->mm_count);
+ mmgrab(e);
</smpl>
Signed-off-by: Julia Lawall <[email protected]>
Acked-by: Andrew Donnellan <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions