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

update

File:
1 edited

Legend:

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

    r31662 r31885  
    16181618        const struct nfit_set_info_map *map1 = m1;
    16191619
    1620         return map0->region_offset - map1->region_offset;
     1620        if (map0->region_offset < map1->region_offset)
     1621                return -1;
     1622        else if (map0->region_offset > map1->region_offset)
     1623                return 1;
     1624        return 0;
    16211625}
    16221626
Note: See TracChangeset for help on using the changeset viewer.