[PATCH] staging: rtlwifi: coding style fixes

Greg KH gregkh at linuxfoundation.org
Tue Oct 2 22:18:23 UTC 2018


On Sat, Sep 29, 2018 at 09:09:02PM +0800, Chunguang Wu wrote:
> According to  Documentation/process/coding-style.rst,
> ``13) Printing kernel messages ......
> Do not use crippled words like ``dont``; use ``do not`` or ``don't``
> instead``,
> the word dont is changed to don't.
> 
> Signed-off-by: Chunguang Wu <fullspring2018 at gmail.com>
> ---
>  drivers/staging/rtlwifi/btcoexist/halbtcoutsrc.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/staging/rtlwifi/btcoexist/halbtcoutsrc.c
> b/drivers/staging/rtlwifi/btcoexist/halbtcoutsrc.c
> index 4d1f9bf..d06a747 100644
> --- a/drivers/staging/rtlwifi/btcoexist/halbtcoutsrc.c
> +++ b/drivers/staging/rtlwifi/btcoexist/halbtcoutsrc.c
> @@ -292,7 +292,7 @@ static void halbtc_leave_lps(struct btc_coexist
> *btcoexist)
> 
>   if (ap_enable) {
>   RT_TRACE(rtlpriv, COMP_BT_COEXIST, DBG_DMESG,
> - "%s()<--dont leave lps under AP mode\n", __func__);
> + "%s()<--don't leave lps under AP mode\n", __func__);
>   return;
>   }
> 
> @@ -315,7 +315,7 @@ static void halbtc_enter_lps(struct btc_coexist
> *btcoexist)
> 
>   if (ap_enable) {
>   RT_TRACE(rtlpriv, COMP_BT_COEXIST, DBG_DMESG,
> - "%s()<--dont enter lps under AP mode\n", __func__);
> + "%s()<--don't enter lps under AP mode\n", __func__);
>   return;
>   }

Patch is corrupted and can not be applied :(


More information about the devel mailing list