Skip to content

Commit f2e0b81

Browse files
committed
Merge pull request #1200 from wuyuehang/add_fbunsupported_ioctl
bcm2709_fb: refine appropriate behaviors to unsupported fb ioctls
2 parents dd2ca6e + e91b72d commit f2e0b81

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/video/fbdev/bcm2708_fb.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -442,8 +442,8 @@ static int bcm2708_ioctl(struct fb_info *info, unsigned int cmd, unsigned long a
442442
&dummy, sizeof(dummy));
443443
break;
444444
default:
445-
dev_err(info->device, "Unknown ioctl 0x%x\n", cmd);
446-
return -EINVAL;
445+
dev_dbg(info->device, "Unknown ioctl 0x%x\n", cmd);
446+
return -ENOTTY;
447447
}
448448

449449
if (ret)

0 commit comments

Comments
 (0)