]> www.infradead.org Git - users/dwmw2/linux.git/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:29:37 +0000 (09:29 +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 970cf69ac35f6c48b849fb634c31ce3ed68a9a38..a3ecf7d77949a007fe255bb8c1a210e108559b22 100644 (file)
@@ -1016,7 +1016,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;