From: David Laight > Sent: 18 April 2019 14:15 ... > Running > grep -r --include '*.[ch]' '_bit([^(]*, *([^)]* ' . > over the entire kernel source tree shows quite a few 'dubious' casts. > > They'll be doubly dubious on BE systems. The alternate pattern: grep -r --include '*.[ch]' '_bit([^(]*, *([^)]*\*)' . has a few less false positives and detects some extras with (void*)&foo->bar. David - Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK Registration No: 1397386 (Wales)