The three checks in region_intersects() is to see whether two resources
overlap. This means it could be simplified with one resource_overlaps().
Also fix two typo in related function.
Signed-off-by: Wei Yang
Reviewed-by: Like Xu
Reviewed-by: Yuan Yao
---
kernel/iomem.c| 4 ++--
kernel/re
On Tue, Mar 05, 2019 at 01:45:31PM +0800, Like Xu wrote:
>On 2019/2/12 8:13, Wei Yang wrote:
>> On Mon, Jan 21, 2019 at 09:20:28AM +0800, Wei Yang wrote:
>> > The three checks in region_intersects() is to see whether two resources
>> > overlap. This means it could be simplified with one resource_ov
On 2019/2/12 8:13, Wei Yang wrote:
On Mon, Jan 21, 2019 at 09:20:28AM +0800, Wei Yang wrote:
The three checks in region_intersects() is to see whether two resources
overlap. This means it could be simplified with one resource_overlaps().
Also fix two typo in related function.
Signed-off-by: We
Looks good to me.
Reviewed-by: Yuan Yao
On Mon, Jan 21, 2019 at 09:20:28AM +0800, Wei Yang wrote:
> The three checks in region_intersects() is to see whether two resources
> overlap. This means it could be simplified with one resource_overlaps().
>
> Also fix two typo in related function.
>
>
On Mon, Jan 21, 2019 at 09:20:28AM +0800, Wei Yang wrote:
>The three checks in region_intersects() is to see whether two resources
>overlap. This means it could be simplified with one resource_overlaps().
>
>Also fix two typo in related function.
>
>Signed-off-by: Wei Yang
Hello~
Would someone l
The three checks in region_intersects() is to see whether two resources
overlap. This means it could be simplified with one resource_overlaps().
Also fix two typo in related function.
Signed-off-by: Wei Yang
---
kernel/iomem.c| 4 ++--
kernel/resource.c | 11 +--
2 files changed, 7
6 matches
Mail list logo