Ignore:
Timestamp:
Aug 14, 2021, 8:10:20 AM (4 years ago)
Author:
Paul Smedley
Message:

Update linux source to 5.11.22

Location:
GPL/branches/uniaud32-next/include/linux
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • GPL/branches/uniaud32-next/include/linux/mod_devicetable.h

    r640 r692  
    1212};
    1313
     14#define ACPI_ID_LEN     9
     15
    1416#endif /* _LINUX_MOD_DEVICETABLE_H */
  • GPL/branches/uniaud32-next/include/linux/slab.h

    r662 r692  
    106106}
    107107
     108/**
     109 * krealloc_array - reallocate memory for an array.
     110 * @p: pointer to the memory chunk to reallocate
     111 * @new_n: new number of elements to alloc
     112 * @new_size: new size of a single member of the array
     113 * @flags: the type of memory to allocate (see kmalloc)
     114 */
     115static __must_check inline void *
     116krealloc_array(void *p, size_t new_n, size_t new_size, gfp_t flags)
     117{
     118        size_t bytes;
     119
     120//      if (check_mul_overflow(new_n, new_size, &bytes))
     121//              return NULL;
     122
     123        return krealloc(p, bytes, flags);
     124}
     125
    108126#define kmalloc_node_track_caller(size, flags, node) \
    109127        kmalloc_track_caller(size, flags)
Note: See TracChangeset for help on using the changeset viewer.