aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ieee1394
diff options
context:
space:
mode:
authorStefan Richter <stefanr@s5r6.in-berlin.de>2009-10-15 21:16:53 +0200
committerStefan Richter <stefanr@s5r6.in-berlin.de>2009-10-31 11:40:52 +0100
commitb2c0a2ac3e59f4764c59c23bd90b571e44256030 (patch)
treeb42fc9ccf784a8948161350b01354d0ce3f7b6e8 /drivers/ieee1394
parent19593ffdb6daa6ba691d247a2400cece12687c52 (diff)
downloadlinux-b2c0a2ac3e59f4764c59c23bd90b571e44256030.tar.gz
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>
Diffstat (limited to 'drivers/ieee1394')
0 files changed, 0 insertions, 0 deletions