commit | b2c0a2ac3e59f4764c59c23bd90b571e44256030 | [log] [tgz] |
---|---|---|
author | Stefan Richter <stefanr@s5r6.in-berlin.de> | Thu Oct 15 21:16:53 2009 +0200 |
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | Sat Oct 31 11:40:52 2009 +0100 |
tree | b42fc9ccf784a8948161350b01354d0ce3f7b6e8 | |
parent | 19593ffdb6daa6ba691d247a2400cece12687c52 [diff] |
firewire: cdev: reduce stack usage by ioctl_dispatch Replace a hardcoded buffer size by a sizeof union {}. This shrinks the stack-allocated ioctl argument buffer from 256 to 40 bytes. (This is not much, but subsequent stack usage particularly by the queue_iso ioctl handler adds up.) The new form is also easier to keep up to date than a hardcoded size if more ioctls are added. Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>