The patch titled thermal: fix test of unsigned in thermal_cooling_device_cur_state_store() has been removed from the -mm tree. Its filename was thermal-fix-test-of-unsigned-in-thermal_cooling_device_cur_state_store.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: thermal: fix test of unsigned in thermal_cooling_device_cur_state_store() From: Roel Kluin <roel.kluin@xxxxxxxxx> state is unsigned long so the test did not work. Signed-off-by: Roel Kluin <roel.kluin@xxxxxxxxx> Acked-by: Zhang Rui <rui.zhang@xxxxxxxxx> Cc: Len Brown <lenb@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/thermal/thermal_sys.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN drivers/thermal/thermal_sys.c~thermal-fix-test-of-unsigned-in-thermal_cooling_device_cur_state_store drivers/thermal/thermal_sys.c --- a/drivers/thermal/thermal_sys.c~thermal-fix-test-of-unsigned-in-thermal_cooling_device_cur_state_store +++ a/drivers/thermal/thermal_sys.c @@ -377,7 +377,7 @@ thermal_cooling_device_cur_state_store(s if (!sscanf(buf, "%ld\n", &state)) return -EINVAL; - if (state < 0) + if ((long)state < 0) return -EINVAL; result = cdev->ops->set_cur_state(cdev, state); _ Patches currently in -mm which might be from roel.kluin@xxxxxxxxx are origin.patch linux-next.patch fujitsu-laptop-fix-tests-of-acpi_evaluate_integer-return.patch powerpc-sky-cpu-redundant-or-incorrect-tests-on-unsigned.patch powerpc-85xx-wrong-variable-returned-on-error.patch hidp-ptr_err-return-of-wrong-pointer-in-hidp_setup_hid.patch imx-bit-confusion.patch serial-fix-test-of-unsigned.patch drivers-scsi-fnic-fnic_scsic-clean-up.patch ibmmca-buffer-overflow.patch scsi-eata-fix-buffer-overflow.patch drivers-scsi-gdthc-fix-buffer-overflow.patch drivers-scsi-u14-34fc-fix-uffer-overflow.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 zfcp-test-kmalloc-failure-in-scsi_get_vpd_page.patch ncr5380-bit-mr_dma_mode-set-twice-in-ncr5380_transfer_dma.patch scsi-pmcraid-redundant-check-in-pmcraid_check_ioctl_buffer.patch drbd-fix-test-of-unsigned-in-_drbd_fault_random.patch r8192u_core-test-for-negative-error-in-rtl8192_rx_isr.patch keys-ptr_err-return-of-wrong-pointer-in-keyctl_get_security.patch frv-duplicate-output_buffer-of-e03.patch frv-duplicate-output_buffer-of-e03-checkpatch-fixes.patch cryptocop-fix-assertion-in-create_output_descriptors.patch asiliantfb-fix-test-of-unsigned-in-asiliant_calc_dclk2.patch hvc_console-fix-test-on-unsigned-in-hvc_console_print.patch zlib-optimize-inffast-when-copying-direct-from-output.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