From: Stefan Richter Date: Thu, 15 Oct 2009 19:16:53 +0000 (+0200) Subject: firewire: cdev: reduce stack usage by ioctl_dispatch X-Git-Tag: v2.6.33-rc1~383^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b2c0a2ac3e59f4764c59c23bd90b571e44256030;p=pandora-kernel.git 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 --- Reading git-diff-tree failed