Skip to contentSkip to conversation

xen: oprofile/nmi_int.c: Drop unwanted sexual reference

PATCH Superseded Ian Jackson 2 participants 2 messages Jul 12, 2018

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 xen: oprofile/nmi_int.c: Drop unwanted sexual reference

This is not really very nice.

This line doesn't have much value in itself. The rest of this comment block is pretty clear what it wants to convey. So delete it.

(While we are here, adopt the CODING_STYLE-mandated formatting.)

---
 xen/arch/x86/oprofile/nmi_int.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
xen/arch/x86/oprofile/nmi_int.c +2 -2
index d8f5230..6b8c531 100644
@@ -182,8 +182,8 @@ int nmi_reserve_counters(void)
 	if (!allocate_msrs())
 		return -ENOMEM;
 
-	/* We walk a thin line between law and rape here.
-	 * We need to be careful to install our NMI handler
+	/*
+         * We need to be careful to install our NMI handler
 	 * without actually triggering any NMIs as this will
 	 * break the core code horrifically.
 	 */
Signature · 7 lines
2.1.4


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Acked-by on v2 1/1
#1 lore raw
Quoted 6 lines
Quoted 1 line
Quoted 1 line · On 12.07.18 at 17:08, <[email protected]> wrote:

This is not really very nice.

This line doesn't have much value in itself. The rest of this comment block is pretty clear what it wants to convey. So delete it.

Quoted 6 lines

(While we are here, adopt the CODING_STYLE-mandated formatting.)

xen/arch/x86/oprofile/nmi_int.c int nmi_reserve_counters(void) · line 186

Quoted 10 lines
xen/arch/x86/oprofile/nmi_int.c +2 -2
@@ -182,8 +182,8 @@ int nmi_reserve_counters(void)
 	if (!allocate_msrs())
 		return -ENOMEM;
 
-	/* We walk a thin line between law and rape here.
-	 * We need to be careful to install our NMI handler
+	/*
+         * We need to be careful to install our NMI handler

Would be nice indeed if you could restore the tab here, for being a Linux style file.

Jan

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel