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] [thread-next>] [day] [month] [year] [list]
Message-Id: <200807301138.m6UBc8xe012173@clem.clem-digital.net>
Date:	Wed, 30 Jul 2008 07:38:08 -0400 (EDT)
From:	Pete Clements <clem@...m.clem-digital.net>
To:	bjorn.helgaas@...com (Bjorn Helgaas)
Cc:	rene.herman@...access.nl (Rene Herman),
	clem@...m.clem-digital.net (Pete Clements),
	linux-kernel@...r.kernel.org (linux-kernel)
Subject: Re: 2.6.27-rc1 oops on boot -- cs423x? (Corrected subject)

Quoting Bjorn Helgaas
  > On Tuesday 29 July 2008 6:02:46 pm Rene Herman wrote:
  > > On 29-07-08 22:52, Pete Clements wrote:
  > > > [Previously sent with wrong subject line (2.6.26-rc1...) applicable
  > > > to post 2.6.26 series]
  > > >
  > > > Missed most of the 26-git series, git6 first one tried and oops
  > > > showed in that one as well as those tried after. oops below.
  > >
  > 
  > Thanks very much for the report.  Can I trouble you to test the
  > patch below and see whether it fixes the problem?
  > 

Patch clears the problem. Thanks.
--
Pete Clements

  > 
  > PNP: fix formatting of dbg_pnp_show_resources() output
  > 
  > From: Bjorn Helgaas <bjorn.helgaas@...com>
  > 
  > Each resource should be printed on its own line, so start snprintf'ing
  > at the beginning of the buffer every time through the loop.
  > 
  > Signed-off-by: Bjorn Helgaas <bjorn.helgaas@...com>
  > ---
  > 
  >  drivers/pnp/support.c |    3 ++-
  >  1 files changed, 2 insertions(+), 1 deletions(-)
  > 
  > 
  > diff --git a/drivers/pnp/support.c b/drivers/pnp/support.c
  > index bbf78ef..57b775b 100644
  > --- a/drivers/pnp/support.c
  > +++ b/drivers/pnp/support.c
  > @@ -77,7 +77,7 @@ void dbg_pnp_show_resources(struct pnp_dev *dev, char *desc)
  >  {
  >  #ifdef DEBUG
  >  	char buf[128];
  > -	int len = 0;
  > +	int len;
  >  	struct pnp_resource *pnp_res;
  >  	struct resource *res;
  >  
  > @@ -89,6 +89,7 @@ void dbg_pnp_show_resources(struct pnp_dev *dev, char *desc)
  >  	dev_dbg(&dev->dev, "%s: current resources:\n", desc);
  >  	list_for_each_entry(pnp_res, &dev->resources, list) {
  >  		res = &pnp_res->res;
  > +		len = 0;
  >  
  >  		len += snprintf(buf + len, sizeof(buf) - len, "  %-3s ",
  >  				pnp_resource_type_name(res));
  > 
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ