LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: "Hartkopp, Oliver (K-EFE/E)" <oliver.hartkopp@volkswagen.de>
To: <len.brown@intel.com>
Cc: <linux-kernel@vger.kernel.org>
Subject: Missing 'warned = 1' in your latest linux-2.6 commit
Date: Mon, 14 Jan 2008 13:58:01 +0100	[thread overview]
Message-ID: <71A66C381173F7418BA6E78EE9E33465AC02EC@vwagwox00011.vw.vwg> (raw)

Hi Len,

in two cases you just introduce the 'warned' variable but do not set
them to '1' after the printk() which is the intetion to print it just
one time. Namely in pnpacpi_parse_allocated_ioresource() and
pnpacpi_parse_allocated_memresource() the 'warned = 1' is missing.

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commi
tdiff;h=66a21736defda339cd93a0e70c1120ab813640f6;hp=2c838197751db19d08a0
0e633e33dce23a69fb0c

Even if it will vanish in 2.6.25 you should fix this new introduced
code. :-)

Regards,
Oliver


             reply	other threads:[~2008-01-14 13:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-14 12:58 Hartkopp, Oliver (K-EFE/E) [this message]
2008-01-14 17:43 ` [PATCH 2.6.24 please] pnpacpi: print resource shortage message only once (more) Len Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=71A66C381173F7418BA6E78EE9E33465AC02EC@vwagwox00011.vw.vwg \
    --to=oliver.hartkopp@volkswagen.de \
    --cc=len.brown@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --subject='Re: Missing '\''warned = 1'\'' in your latest linux-2.6 commit' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).