Created
June 13, 2014 16:31
-
-
Save levex/df3466e3c0f1de0fa5c6 to your computer and use it in GitHub Desktop.
0001-qr-print_oops-explain-what-is-our-purpose-to-the-use.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From edf7140cde27307171abf64dd2a97576d6e2bd56 Mon Sep 17 00:00:00 2001 | |
From: Levente Kurusa <levex@linux.com> | |
Date: Fri, 13 Jun 2014 18:25:46 +0200 | |
Subject: [PATCH] qr: print_oops: explain what is our purpose to the user | |
Might not be the most perfect solution, I think we would | |
need a way to make sure it appears... | |
Github-Issue: #9 | |
Signed-off-by: Levente Kurusa <levex@linux.com> | |
--- | |
kernel/print_oops.c | 2 ++ | |
1 file changed, 2 insertions(+) | |
diff --git a/kernel/print_oops.c b/kernel/print_oops.c | |
index 82b894f..50c22b7 100644 | |
--- a/kernel/print_oops.c | |
+++ b/kernel/print_oops.c | |
@@ -173,6 +173,8 @@ void print_qr_err(void) | |
rect.height = w; | |
rect.rop = 0; | |
+ printk(KERN_EMERG "Please scan the QR code with your phone and click the link contained inside it to report the oops\n"); | |
+ | |
/* Print borders: */ | |
rect.color = QQQ_WHITE; | |
for (i = 0; i < qr->width + 2; i++) { | |
-- | |
1.8.3.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment