aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorJohn Stultz <[email protected]>2011-05-31 23:26:11 -0700
committerJohn Stultz <[email protected]>2011-06-01 19:29:39 -0700
commite17fd4ba2a81f1d29875b20464e4899185a3c946 (patch)
treed725e39d38d1cba1831297048ec54f79cb99ebca /lib/mpi/mpiutil.c
parent1fa7b6a29c61358cc2ca6f64cef4aa0e1a7ca74c (diff)
rtc: Fix ioctl error path return
Bryan Henderson noticed that the "RTC: Fix rtc driver ioctl specific shortcutting" commit has a small bug: When an ioctl is called with an invalid command code and the clock driver does not have an "ioctl" method, the ioctl returns rc 0 instead of -ENOTTY. This patch fixes the issue. CC: Bryan Henderson <[email protected]> CC: Gabor Z. Papp <[email protected]> Reported-by: Bryan Henderson <[email protected]> Signed-off-by: John Stultz <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions