Details
-
Type: Bug
-
Status: Closed
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: V1.2.0.0, V1.2.0.1, V2.0.0.0, V2.0.1.0
-
Fix Version/s: V2.1.0.0
-
Component/s: Linux Driver
-
Labels:None
-
Account:SDO Driver (SDODRIVER)
Description
Newer kernels / gcc complains when compiling:
drivers/uio/uio_netx.c: In function 'get_dt_parameter': drivers/uio/uio_netx.c:792:34: warning: division 'sizeof (long unsigned int *) / sizeof (long unsigned int)' does not compute the number of array elements [-Wsizeof-pointer-div] 792 | return (sizeof(custom->dpm_addr)/sizeof(unsigned long)); | ^
this feature is only used in conjunction with ARM/Device-Tree and this warning could safely be ignored.