On 6 September 2016 at 15:52, Adrian Hunter wrote:
> On 6/09/2016 9:26 a.m., Baolin Wang wrote:
>>
>> Hi Andreas,
>>
>> On 6 September 2016 at 12:34, Andreas Mohr wrote:
>>>
>>> On Tue, Sep 06, 2016 at 10:55:11AM +0800, Baolin Wang wrote:
In
On 6 September 2016 at 15:52, Adrian Hunter wrote:
> On 6/09/2016 9:26 a.m., Baolin Wang wrote:
>>
>> Hi Andreas,
>>
>> On 6 September 2016 at 12:34, Andreas Mohr wrote:
>>>
>>> On Tue, Sep 06, 2016 at 10:55:11AM +0800, Baolin Wang wrote:
In order to clean up the mmc_erase() function
On 6 September 2016 at 15:19, Andreas Mohr wrote:
> On Tue, Sep 06, 2016 at 02:26:06PM +0800, Baolin Wang wrote:
>> On 6 September 2016 at 12:34, Andreas Mohr wrote:
>> >> - to = from + nr;
>> >> -
>> >> - if (to <= from)
>> >> - return -EINVAL;
On 6 September 2016 at 15:19, Andreas Mohr wrote:
> On Tue, Sep 06, 2016 at 02:26:06PM +0800, Baolin Wang wrote:
>> On 6 September 2016 at 12:34, Andreas Mohr wrote:
>> >> - to = from + nr;
>> >> -
>> >> - if (to <= from)
>> >> - return -EINVAL;
>> >
>> > Hmm, this is
On 6/09/2016 9:26 a.m., Baolin Wang wrote:
Hi Andreas,
On 6 September 2016 at 12:34, Andreas Mohr wrote:
On Tue, Sep 06, 2016 at 10:55:11AM +0800, Baolin Wang wrote:
In order to clean up the mmc_erase() function and do some optimization
for erase size alignment, factor out the
On 6/09/2016 9:26 a.m., Baolin Wang wrote:
Hi Andreas,
On 6 September 2016 at 12:34, Andreas Mohr wrote:
On Tue, Sep 06, 2016 at 10:55:11AM +0800, Baolin Wang wrote:
In order to clean up the mmc_erase() function and do some optimization
for erase size alignment, factor out the guts of erase
On Tue, Sep 06, 2016 at 02:26:06PM +0800, Baolin Wang wrote:
> On 6 September 2016 at 12:34, Andreas Mohr wrote:
> >> - to = from + nr;
> >> -
> >> - if (to <= from)
> >> - return -EINVAL;
> >
> > Hmm, this is swallowing -EINVAL behaviour
> > i.e., now possibly
On Tue, Sep 06, 2016 at 02:26:06PM +0800, Baolin Wang wrote:
> On 6 September 2016 at 12:34, Andreas Mohr wrote:
> >> - to = from + nr;
> >> -
> >> - if (to <= from)
> >> - return -EINVAL;
> >
> > Hmm, this is swallowing -EINVAL behaviour
> > i.e., now possibly violating
Hi Andreas,
On 6 September 2016 at 12:34, Andreas Mohr wrote:
> On Tue, Sep 06, 2016 at 10:55:11AM +0800, Baolin Wang wrote:
>> In order to clean up the mmc_erase() function and do some optimization
>> for erase size alignment, factor out the guts of erase size alignment
>> into
Hi Andreas,
On 6 September 2016 at 12:34, Andreas Mohr wrote:
> On Tue, Sep 06, 2016 at 10:55:11AM +0800, Baolin Wang wrote:
>> In order to clean up the mmc_erase() function and do some optimization
>> for erase size alignment, factor out the guts of erase size alignment
>> into
On Tue, Sep 06, 2016 at 10:55:11AM +0800, Baolin Wang wrote:
> In order to clean up the mmc_erase() function and do some optimization
> for erase size alignment, factor out the guts of erase size alignment
> into mmc_align_erase_size() function.
>
> Signed-off-by: Baolin Wang
On Tue, Sep 06, 2016 at 10:55:11AM +0800, Baolin Wang wrote:
> In order to clean up the mmc_erase() function and do some optimization
> for erase size alignment, factor out the guts of erase size alignment
> into mmc_align_erase_size() function.
>
> Signed-off-by: Baolin Wang
> Tested-by: Shawn
In order to clean up the mmc_erase() function and do some optimization
for erase size alignment, factor out the guts of erase size alignment
into mmc_align_erase_size() function.
Signed-off-by: Baolin Wang
Tested-by: Shawn Lin
---
In order to clean up the mmc_erase() function and do some optimization
for erase size alignment, factor out the guts of erase size alignment
into mmc_align_erase_size() function.
Signed-off-by: Baolin Wang
Tested-by: Shawn Lin
---
drivers/mmc/core/core.c | 60
14 matches
Mail list logo