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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CANEJEGvY01tSVB=LyEcrWk+s07cS7Upk+LOa9T0nLHy1adZ5Vg@mail.gmail.com>
Date:   Wed, 4 Jan 2023 10:33:57 -0800
From:   Grant Grundler <grundler@...omium.org>
To:     Sebastian Reichel <sebastian.reichel@...labora.com>
Cc:     Grant Grundler <grundler@...omium.org>,
        Guenter Roeck <groeck@...gle.com>,
        Benson Leung <bleung@...omium.org>,
        Guenter Roeck <groeck@...omium.org>,
        chrome-platform@...ts.linux.dev, linux-pm@...r.kernel.org,
        LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] power: supply: cros_usbpd: reclassify "default case!" as debug

[plain text this time]

On Mon, Jan 2, 2023 at 2:19 PM Sebastian Reichel
<sebastian.reichel@...labora.com> wrote:
> Hi,
>
> Thanks, queued to power-supply's fixes branch.

Awesome - thanks Sebastian!

I'll pull from that branch when backporting to  the Chrome OS kernels.
   https://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply.git/commit/?h=fixes&id=bb6bbf5df16201ece2dacabeb489fc2180c7cfcd

cheers,
grant

>
> -- Sebastian
>
> On Thu, Dec 29, 2022 at 11:53:55PM -0800, Grant Grundler wrote:
> > Hi Sebastian, linux-pm folks, Benson,
> > Can I get feedback on this patch please?
> >
> > I was just told another user feedback report had 70% of the dmesg buffer
> > filled with the cros-usbpd-charger output.
> >
> > cheers,
> > grant
> >
> >
> > On Mon, Dec 12, 2022 at 1:49 PM Guenter Roeck <groeck@...gle.com> wrote:
> >
> > > On Mon, Dec 12, 2022 at 1:39 PM Grant Grundler <grundler@...omium.org>
> > > wrote:
> > > >
> > > > This doesn't need to be printed every second as an error:
> > > > ...
> > > > <3>[17438.628385] cros-usbpd-charger cros-usbpd-charger.3.auto: Port 1:
> > > default case!
> > > > <3>[17439.634176] cros-usbpd-charger cros-usbpd-charger.3.auto: Port 1:
> > > default case!
> > > > <3>[17440.640298] cros-usbpd-charger cros-usbpd-charger.3.auto: Port 1:
> > > default case!
> > > > ...
> > > >
> > > > Reduce priority from ERROR to DEBUG.
> > > >
> > > > Signed-off-by: Grant Grundler <grundler@...omium.org>
> > >
> > > Reviewed-by: Guenter Roeck <groeck@...omium.org>
> > >
> > > >
> > > > ---
> > > >  drivers/power/supply/cros_usbpd-charger.c | 2 +-
> > > >  1 file changed, 1 insertion(+), 1 deletion(-)
> > > >
> > > > diff --git a/drivers/power/supply/cros_usbpd-charger.c
> > > b/drivers/power/supply/cros_usbpd-charger.c
> > > > index cadb6a0c2cc7..b6c96376776a 100644
> > > > --- a/drivers/power/supply/cros_usbpd-charger.c
> > > > +++ b/drivers/power/supply/cros_usbpd-charger.c
> > > > @@ -276,7 +276,7 @@ static int cros_usbpd_charger_get_power_info(struct
> > > port_data *port)
> > > >                 port->psy_current_max = 0;
> > > >                 break;
> > > >         default:
> > > > -               dev_err(dev, "Port %d: default case!\n",
> > > port->port_number);
> > > > +               dev_dbg(dev, "Port %d: default case!\n",
> > > port->port_number);
> > > >                 port->psy_usb_type = POWER_SUPPLY_USB_TYPE_SDP;
> > > >         }
> > > >
> > > > --
> > > > 2.39.0.rc1.256.g54fd8350bd-goog
> > > >
> > >

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ