]> git.itanic.dy.fi Git - linux-stable/commitdiff
ath10k: Change the warning message string
authorFabio Estevam <festevam@gmail.com>
Thu, 9 May 2019 12:15:00 +0000 (09:15 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 4 Aug 2019 07:32:01 +0000 (09:32 +0200)
commit 265df32eae5845212ad9f55f5ae6b6dcb68b187b upstream.

The "WARNING" string confuses syzbot, which thinks it found
a crash [1].

Change the string to avoid such problem.

[1] https://lkml.org/lkml/2019/5/9/243

Reported-by: syzbot+c1b25598aa60dcd47e78@syzkaller.appspotmail.com
Suggested-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/wireless/ath/ath10k/usb.c

index d4803ff5a78a75eb7e2d63bc77a1623f146e283e..f09a4ad2e9de71c25973ae553b94d0086606bfe0 100644 (file)
@@ -1025,7 +1025,7 @@ static int ath10k_usb_probe(struct usb_interface *interface,
        }
 
        /* TODO: remove this once USB support is fully implemented */
-       ath10k_warn(ar, "WARNING: ath10k USB support is incomplete, don't expect anything to work!\n");
+       ath10k_warn(ar, "Warning: ath10k USB support is incomplete, don't expect anything to work!\n");
 
        return 0;