All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jean Delvare <khali-PUYAD+kWke1g9hUCZPvPmw@public.gmane.org>
To: "Lothar Waßmann" <LW-bxm8fMRDkQLDiMYJYoSAnRvVK+yQ3ZXh@public.gmane.org>
Cc: David Brownell <david-b-yBeKhBN/0LDR7s880joybQ@public.gmane.org>,
	i2c-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org
Subject: Re: [patch 2.6.26-rc1] i2c_core:  return -Errno not -1
Date: Wed, 7 May 2008 09:52:09 +0200	[thread overview]
Message-ID: <20080507095209.32a6faa2@hyperion.delvare> (raw)
In-Reply-To: <18465.22635.646092.18578-VjFSrY7JcPWvSplVBqRQBQ@public.gmane.org>

Hi Lothar,

On Wed, 7 May 2008 09:21:15 +0200, Lothar Waßmann wrote:
> Fix return values of various functions in i2c-core.c to either promote
> the return code of a called function or return a sensible 'errno'
> value instead of a bogus '-1' (which would be interpreted as 'EPERM').
> 
> Signed-off-by: Lothar Waßmann <LW-bxm8fMRDkQLDiMYJYoSAnRvVK+yQ3ZXh@public.gmane.org>

Hmm, how does your patch differ from the one David Brownell sent a few
days ago?

http://lists.lm-sensors.org/pipermail/i2c/2008-May/003503.html

-- 
Jean Delvare

_______________________________________________
i2c mailing list
i2c-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org
http://lists.lm-sensors.org/mailman/listinfo/i2c

  parent reply	other threads:[~2008-05-07  7:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-07  7:21 [patch 2.6.26-rc1] i2c_core: return -Errno not -1 Lothar Waßmann
     [not found] ` <18465.22635.646092.18578-VjFSrY7JcPWvSplVBqRQBQ@public.gmane.org>
2008-05-07  7:52   ` Jean Delvare [this message]
     [not found]     ` <20080507095209.32a6faa2-ig7AzVSIIG7kN2dkZ6Wm7A@public.gmane.org>
2008-05-07  8:00       ` Lothar Waßmann
2008-05-07  8:18       ` David Brownell

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=20080507095209.32a6faa2@hyperion.delvare \
    --to=khali-puyad+kwke1g9huczpvpmw@public.gmane.org \
    --cc=LW-bxm8fMRDkQLDiMYJYoSAnRvVK+yQ3ZXh@public.gmane.org \
    --cc=david-b-yBeKhBN/0LDR7s880joybQ@public.gmane.org \
    --cc=i2c-GZX6beZjE8VD60Wz+7aTrA@public.gmane.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.