diff options
| author | John Stultz <[email protected]> | 2011-06-01 06:26:11 +0000 |
|---|---|---|
| committer | John Stultz <[email protected]> | 2011-06-02 02:29:39 +0000 |
| commit | e17fd4ba2a81f1d29875b20464e4899185a3c946 (patch) | |
| tree | d725e39d38d1cba1831297048ec54f79cb99ebca /net/lapb/lapb_iface.c | |
| parent | Revert "mm: fail GFP_DMA allocations when ZONE_DMA is not configured" (diff) | |
| download | kernel-e17fd4ba2a81f1d29875b20464e4899185a3c946.tar.gz kernel-e17fd4ba2a81f1d29875b20464e4899185a3c946.zip | |
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 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions
