Tag: bfb7ff2c0bf322a1780e1cf2479ace7a5beb8ab9

staging: rtl8723au: hal: Use macro ARRAY_SIZE

Author: Bhaktipriya Shridhar <bhaktipriya96@gmail.com> The macro ARRAY_SIZE is more concise to use instead of dividing size of the array by the size of its type. Changes were made using Coccinelle. @@ type T; T[] E; @@ – (sizeof(E)/sizeof(T)) + ARRAY_SIZE(E) Signed-off-by: Bhaktipriya Shridhar Signed-off-by: Greg Kroah-Hartman — drivers/staging/rtl8723au/hal/HalHWImg8723A_RF.c | 2 +- 1 file changed, 1 …

Continue reading

BtrLinux
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.