On 09/23/2015 02:40 AM, Lukasz Majewski wrote:
> Hi Stephen,
>
>> On 09/03/2015 08:18 AM, Lukasz Majewski wrote:
>>> Hi Lukasz,
>>>
Hi Tom,
> On Thu, Sep 03, 2015 at 02:21:39PM +0200, Lukasz Majewski wrote:
>
>> It is very common that FAT code is using following pattern:
On 09/03/2015 08:18 AM, Lukasz Majewski wrote:
> Hi Lukasz,
>
>> Hi Tom,
>>
>>> On Thu, Sep 03, 2015 at 02:21:39PM +0200, Lukasz Majewski wrote:
>>>
It is very common that FAT code is using following pattern:
if (disk_{read|write}() < 0)
return -1;
Up till now the
Hi Stephen,
> On 09/03/2015 08:18 AM, Lukasz Majewski wrote:
> > Hi Lukasz,
> >
> >> Hi Tom,
> >>
> >>> On Thu, Sep 03, 2015 at 02:21:39PM +0200, Lukasz Majewski wrote:
> >>>
> It is very common that FAT code is using following pattern:
> if (disk_{read|write}() < 0)
>
Hi Tom,,
> Hi,
>
> > It is very common that FAT code is using following pattern:
> > if (disk_{read|write}() < 0)
> > return -1;
> >
> > Up till now the above code was dead, since disk_{read|write) could
> > only return value >= 0.
> > As a result some errors from medium layer (i.e.
Hi,
> It is very common that FAT code is using following pattern:
> if (disk_{read|write}() < 0)
> return -1;
>
> Up till now the above code was dead, since disk_{read|write) could
> only return value >= 0.
> As a result some errors from medium layer (i.e. eMMC/SD) were not
> caught.
>
Hi Lukasz,
> Hi Tom,
>
> > On Thu, Sep 03, 2015 at 02:21:39PM +0200, Lukasz Majewski wrote:
> >
> > > It is very common that FAT code is using following pattern:
> > > if (disk_{read|write}() < 0)
> > > return -1;
> > >
> > > Up till now the above code was dead, since disk_{read|write)
Hi Tom,
> On Thu, Sep 03, 2015 at 02:21:39PM +0200, Lukasz Majewski wrote:
>
> > It is very common that FAT code is using following pattern:
> > if (disk_{read|write}() < 0)
> > return -1;
> >
> > Up till now the above code was dead, since disk_{read|write) could
> > only return value
It is very common that FAT code is using following pattern:
if (disk_{read|write}() < 0)
return -1;
Up till now the above code was dead, since disk_{read|write) could only
return value >= 0.
As a result some errors from medium layer (i.e. eMMC/SD) were not caught.
The above behavior was
On Thu, Sep 03, 2015 at 02:21:39PM +0200, Lukasz Majewski wrote:
> It is very common that FAT code is using following pattern:
> if (disk_{read|write}() < 0)
> return -1;
>
> Up till now the above code was dead, since disk_{read|write) could only
> return value >= 0.
> As a result some
9 matches
Mail list logo