The patch titled scsi/pmcraid: redundant check in pmcraid_check_ioctl_buffer()? has been removed from the -mm tree. Its filename was scsi-pmcraid-redundant-check-in-pmcraid_check_ioctl_buffer.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: scsi/pmcraid: redundant check in pmcraid_check_ioctl_buffer()? From: Roel Kluin <roel.kluin@xxxxxxxxx> struct pmcraid_ioctl_header member buffer_length is unsigned, so this check appears redundant. Signed-off-by: Roel Kluin <roel.kluin@xxxxxxxxx> Acked-by: Anil Ravindranath <anil_ravindranath@xxxxxxxxxxxxxx> Cc: James Bottomley <James.Bottomley@xxxxxxxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/scsi/pmcraid.c | 6 ------ 1 file changed, 6 deletions(-) diff -puN drivers/scsi/pmcraid.c~scsi-pmcraid-redundant-check-in-pmcraid_check_ioctl_buffer drivers/scsi/pmcraid.c --- a/drivers/scsi/pmcraid.c~scsi-pmcraid-redundant-check-in-pmcraid_check_ioctl_buffer +++ a/drivers/scsi/pmcraid.c @@ -3751,12 +3751,6 @@ static int pmcraid_check_ioctl_buffer( return -EINVAL; } - /* buffer length can't be negetive */ - if (hdr->buffer_length < 0) { - pmcraid_err("ioctl: invalid buffer length specified\n"); - return -EINVAL; - } - /* check for appropriate buffer access */ if ((_IOC_DIR(cmd) & _IOC_READ) == _IOC_READ) access = VERIFY_WRITE; _ Patches currently in -mm which might be from roel.kluin@xxxxxxxxx are origin.patch linux-next.patch score-fix-dereference-of-null-pointer-in-local_flush_tlb_page.patch serial-two-branches-the-same-in-timbuart_set_mctrl.patch drivers-scsi-fnic-fnic_scsic-clean-up.patch drivers-scsi-lpfc-lpfc_vportc-fix-read-buffer-overflow.patch osst-fix-read-buffer-overflow.patch gdth-unmap-ccb_phys-when-scsi_add_host-fails-in-gdth_eisa_probe_one.patch ncr5380-bit-mr_dma_mode-set-twice-in-ncr5380_transfer_dma.patch dc395x-decrease-iteration-for-tag_number-of-max_command-in-start_scsi.patch lpfc-positive-error-return-into-negative.patch scsi-bfa-correct-onstack-wait_queue_head-declaration.patch bfa-wrong-fcport-h2i-message-tested-in-bfa_fcport_isr.patch vt6655-cgi-csi-confusion-in-device_ioctl.patch frv-duplicate-output_buffer-of-e03.patch frv-duplicate-output_buffer-of-e03-checkpatch-fixes.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