The patch titled media: remove redundant tests on unsigned has been removed from the -mm tree. Its filename was media-remove-redundant-tests-on-unsigned.patch This patch was dropped because it was merged into mainline or a subsystem tree The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: media: remove redundant tests on unsigned From: Roel Kluin <roel.kluin@xxxxxxxxx> input, inp and i are unsigned. When negative they are wrapped and caught by the other test. Signed-off-by: Roel Kluin <roel.kluin@xxxxxxxxx> Cc: Hans Verkuil <hverkuil@xxxxxxxxx> Cc: Mauro Carvalho Chehab <mchehab@xxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/media/dvb/ttpci/av7110_v4l.c | 2 +- drivers/media/video/cx18/cx18-ioctl.c | 2 +- drivers/media/video/saa7134/saa7134-video.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff -puN drivers/media/dvb/ttpci/av7110_v4l.c~media-remove-redundant-tests-on-unsigned drivers/media/dvb/ttpci/av7110_v4l.c --- a/drivers/media/dvb/ttpci/av7110_v4l.c~media-remove-redundant-tests-on-unsigned +++ a/drivers/media/dvb/ttpci/av7110_v4l.c @@ -490,7 +490,7 @@ static int vidioc_s_input(struct file *f if (!av7110->analog_tuner_flags) return 0; - if (input < 0 || input >= 4) + if (input >= 4) return -EINVAL; av7110->current_input = input; diff -puN drivers/media/video/cx18/cx18-ioctl.c~media-remove-redundant-tests-on-unsigned drivers/media/video/cx18/cx18-ioctl.c --- a/drivers/media/video/cx18/cx18-ioctl.c~media-remove-redundant-tests-on-unsigned +++ a/drivers/media/video/cx18/cx18-ioctl.c @@ -605,7 +605,7 @@ int cx18_s_input(struct file *file, void if (ret) return ret; - if (inp < 0 || inp >= cx->nof_inputs) + if (inp >= cx->nof_inputs) return -EINVAL; if (inp == cx->active_input) { diff -puN drivers/media/video/saa7134/saa7134-video.c~media-remove-redundant-tests-on-unsigned drivers/media/video/saa7134/saa7134-video.c --- a/drivers/media/video/saa7134/saa7134-video.c~media-remove-redundant-tests-on-unsigned +++ a/drivers/media/video/saa7134/saa7134-video.c @@ -1790,7 +1790,7 @@ static int saa7134_s_input(struct file * if (0 != err) return err; - if (i < 0 || i >= SAA7134_INPUT_MAX) + if (i >= SAA7134_INPUT_MAX) return -EINVAL; if (NULL == card_in(dev, i).name) return -EINVAL; _ Patches currently in -mm which might be from roel.kluin@xxxxxxxxx are linux-next.patch s3c-fix-check-of-index-into-s3c_gpios.patch powerpc-sky-cpu-redundant-or-incorrect-tests-on-unsigned.patch ext4-remove-redundant-test-on-unsigned.patch drivers-usb-host-xhci-dbgc-less-and-greater-than-confusion.patch drivers-gpu-drm-ttm-ttm_bo_vmc-fix-misplaced-parentheses.patch frv-duplicate-output_buffer-of-e03.patch frv-duplicate-output_buffer-of-e03-checkpatch-fixes.patch m32r-remove-redundant-tests-on-unsigned.patch m68k-count-can-reach-51-not-50.patch m68k-cnt-reaches-1-not-0.patch platinumfb-misplaced-parenthesis.patch adfs-remove-redundant-test-on-unsigned.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html