Ignore:
Timestamp:
Apr 21, 2017, 4:28:29 AM (3 months ago)
Author:
brainslayer
Message:

update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/linux/universal/linux-4.4/drivers/acpi/nfit.c

    r31687 r31885  
    980980        const struct nfit_set_info_map *map1 = m1;
    981981
    982         return map0->region_offset - map1->region_offset;
     982        if (map0->region_offset < map1->region_offset)
     983                return -1;
     984        else if (map0->region_offset > map1->region_offset)
     985                return 1;
     986        return 0;
    983987}
    984988
Note: See TracChangeset for help on using the changeset viewer.