Straightening out ioctl() size confusion
Straightening out ioctl() size confusion
Posted Jan 24, 2013 19:57 UTC (Thu) by jimparis (guest, #38647)In reply to: Straightening out ioctl() size confusion by awardak
Parent article: Straightening out ioctl() size confusion
That expression is true if "t" is a type, and fails to compile if "t" is a number, which is the main error that they were trying to catch. It also handles various other cases like passing an array type, see http://marc.info/?l=linux-kernel&m=106297035619199&... and subsequent messages.
