“c4f4925439f13a243aecfb36c693613603c0bfbd”上不存在“git@gitcode.net:openanolis/cloud-kernel.git”
igb: use ARRAY_SIZE to replace calculating sizeof(a)/sizeof(a[0])
Use the ARRAY_SIZE macro rather than calculating sizeof(a)/sizeof(a[0]). Also directly replace the code rather than using an unnecessary define. Reported-by: NManinder Singh <maninder1.s@samsung.com> Reported-by: NJoe Perches <joe@perches.com> Signed-off-by: NTodd Fujinaka <todd.fujinaka@intel.com> Tested-by: NAaron Brown <aaron.f.brown@intel.com> Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
Showing
想要评论请 注册 或 登录