x86/uaccess: Document copy_from_user_nmi()
authorThomas Gleixner <tglx@linutronix.de>
Tue, 17 Nov 2020 20:23:35 +0000 (21:23 +0100)
committerBorislav Petkov <bp@suse.de>
Wed, 18 Nov 2020 12:19:01 +0000 (13:19 +0100)
commit907f8eb8e0eb2b3312b292e67dc4dbc493424747
treec208d4c55d1b4264cf6f2ae66e95f4c6b78c8080
parent09a217c10504bcaef911cf2af74e424338efe629
x86/uaccess: Document copy_from_user_nmi()

Document the functionality of copy_from_user_nmi() to avoid further
confusion. Fix the typo in the existing comment while at it.

Requested-by: Borislav Petkov <bp@alien8.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20201117202753.806376613@linutronix.de
arch/x86/lib/usercopy.c