summaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2009-05-26 09:41:17 +1000
committerNeilBrown <neilb@suse.de>2009-05-26 09:41:17 +1000
commit2b69c83924396ad1eda36fdd267c9d2f360f5555 (patch)
tree14c01b6dd6b596859835b3f0d176bf02129d2c45 /drivers/media
parent62e1e389f87a8839ad83b08c44691d1df8320846 (diff)
downloadop-kernel-dev-2b69c83924396ad1eda36fdd267c9d2f360f5555.zip
op-kernel-dev-2b69c83924396ad1eda36fdd267c9d2f360f5555.tar.gz
md: improve errno return when setting array_size
Instead of always returns EINVAL if anything goes wrong when setting the array size, add the option of E2BIG if the size requested is too large. This makes it easier for user-space to be sure what went wrong. Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/media')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud