All of lore.kernel.org
 help / color / mirror / Atom feed
From: khali@linux-fr.org (Jean Delvare)
To: lm-sensors@vger.kernel.org
Subject: [lm-sensors] PATCH: hwmon-abituguru-timeout-fixes.patch
Date: Thu, 24 Aug 2006 20:28:13 +0000	[thread overview]
Message-ID: <20060824222813.98404cfe.khali@linux-fr.org> (raw)
In-Reply-To: <44DB23B1.1060102@hhs.nl>

Hi Hans,

> To the latest version of abituguru.c which I send to you (in the form of 
> my original submission + all accepted patches). But someone upstream has 
> been fixing some spelling mistakes in the comments, which caused the 
> patch to not apply to upstream's tree, I've attached a new version 
> against upstreams latest tree (2.6.18-rc4-git1).

Works better, great :) I'll push it to Greg tomorrow.

In general you shouldn't expect your local copy to be the latest
version of the driver, even if you are the maintainer. Generic changes
can be applied to your driver anytime.

> >> @@ -331,7 +338,8 @@
> >>  	/* And read the data */
> >>  	for (i = 0; i < count; i++) {
> >>  		if (abituguru_wait(data, ABIT_UGURU_STATUS_READ)) {
> >> -			ABIT_UGURU_DEBUG(1, "timeout exceeded waiting for "
> >> +			ABIT_UGURU_DEBUG(retries? 1:3,
> > 
> > Broken coding style.
> > 
> 
> How exactly, I guess I should have used spaces somewhere, but where exactly?

retries ? 1 : 3

(I've changed it for you.)

-- 
Jean Delvare


      parent reply	other threads:[~2006-08-24 20:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-10 12:16 [lm-sensors] PATCH: hwmon-abituguru-timeout-fixes.patch Hans de Goede
2006-08-21 11:19 ` Jean Delvare
2006-08-24 11:26 ` Hans de Goede
2006-08-24 20:28 ` Jean Delvare [this message]

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=20060824222813.98404cfe.khali@linux-fr.org \
    --to=khali@linux-fr.org \
    --cc=lm-sensors@vger.kernel.org \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.