lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAGkQfmMXpZq47CYcUqFOuciQtuOOpt+sOYpfW=MbJfAL_gN1Og@mail.gmail.com>
Date:   Mon, 29 Aug 2016 10:11:34 +0200
From:   Romain Izard <romain.izard.pro@...il.com>
To:     linux-usb@...r.kernel.org, LKML <linux-kernel@...r.kernel.org>,
        Felipe Balbi <balbi@...nel.org>
Cc:     Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
        Romain Izard <romain.izard.pro@...il.com>
Subject: Re: [PATCH v1] usb: gadget: configfs: log function unbinding as information

2016-07-26 18:21 GMT+02:00 Romain Izard <romain.izard.pro@...il.com>:
> Disabling USB gadget functions configured through configfs is something
> that can happen in normal use cases. Keep the existing log for this type
> of event, but only as information, not as an error.
>
> Signed-off-by: Romain Izard <romain.izard.pro@...il.com>
> ---
>  drivers/usb/gadget/configfs.c | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/usb/gadget/configfs.c b/drivers/usb/gadget/configfs.c
> index 70cf3477f951..11f3a649d9e5 100644
> --- a/drivers/usb/gadget/configfs.c
> +++ b/drivers/usb/gadget/configfs.c
> @@ -1211,8 +1211,9 @@ static void purge_configs_funcs(struct gadget_info *gi)
>
>                         list_move_tail(&f->list, &cfg->func_list);
>                         if (f->unbind) {
> -                               dev_err(&gi->cdev.gadget->dev, "unbind function"
> -                                               " '%s'/%p\n", f->name, f);
> +                               dev_info(&gi->cdev.gadget->dev,
> +                                        "unbind function '%s'/%p\n",
> +                                        f->name, f);
>                                 f->unbind(c, f);
>                         }
>                 }
> --
> 2.7.4
>

Ping ?

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ