[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100511140547.GA13575@suse.de>
Date: Tue, 11 May 2010 07:05:47 -0700
From: Greg KH <gregkh@...e.de>
To: "Michael S. Tsirkin" <mst@...hat.com>
Cc: Michal Schmidt <mschmidt@...hat.com>, linux-pci@...r.kernel.org,
Jesse Barnes <jbarnes@...tuousgeek.org>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] PCI: return correct value when writing to the "reset"
attribute
On Tue, May 11, 2010 at 01:58:59PM +0300, Michael S. Tsirkin wrote:
> On Tue, May 11, 2010 at 11:44:54AM +0200, Michal Schmidt wrote:
> > A successful write() to the "reset" sysfs attribute should return the
> > number of bytes written, not 0. Otherwise userspace (bash) retries the
> > write over and over again.
> >
> > Signed-off-by: Michal Schmidt <mschmidt@...hat.com>
>
> Acked-by: Michael S. Tsirkin <mst@...hat.com>
Acked-by: Greg Kroah-Hartman <gregkh@...e.de>
--
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