From: Stefan Richter Date: Sun, 14 Dec 2008 18:21:01 +0000 (+0100) Subject: firewire: cdev: address handler input validation X-Git-Tag: v2.6.30-rc1~644^2~45 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3e0b5f0d7cb5fef402517e41eebff5a0f0e65a13;p=pandora-kernel.git firewire: cdev: address handler input validation Like before my commit 1415d9189e8c59aa9c77a3bba419dcea062c145f, fw_core_add_address_handler() does not align the address region now. Instead the caller is required to pass valid parameters. Since one of the callers of fw_core_add_address_handler() is the cdev userspace interface, we now check for valid input. If the client is buggy, we give it a hint with -EINVAL. Signed-off-by: Stefan Richter --- Reading git-diff-tree failed