commit | 3e0b5f0d7cb5fef402517e41eebff5a0f0e65a13 | [log] [tgz] |
---|---|---|
author | Stefan Richter <stefanr@s5r6.in-berlin.de> | Sun Dec 14 19:21:01 2008 +0100 |
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | Tue Mar 24 20:56:38 2009 +0100 |
tree | b712284afebff56dd2e104242f4e6665aaf6c8e4 | |
parent | 45ee3199eb3e4233b755a9bb353a0527a4c58b5f [diff] |
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 <stefanr@s5r6.in-berlin.de>