forked from Minki/linux
59d5396a46
An incorrect sizeof is being used, struct attribute ** is not correct,
it should be struct attribute *. Note that since ** is the same size as
* this is not causing any issues. Improve this fix by using sizeof(*attrs)
as this allows us to not even reference the type of the pointer.
Addresses-Coverity: ("Sizeof not portable (SIZEOF_MISMATCH)")
Fixes:
|
||
---|---|---|
.. | ||
core.c | ||
ibs.c | ||
iommu.c | ||
iommu.h | ||
Makefile | ||
power.c | ||
uncore.c |