- intel_menlo-max_state-is-unsigned-invalid-test.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     intel_menlo: max_state is unsigned, invalid test
has been removed from the -mm tree.  Its filename was
     intel_menlo-max_state-is-unsigned-invalid-test.patch

This patch was dropped because it is obsolete

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: intel_menlo: max_state is unsigned, invalid test
From: roel kluin <roel.kluin@xxxxxxxxx>

max_state is unsigned, so the test is invalid.

Signed-off-by: Roel Kluin <roel.kluin@xxxxxxxxx>
Cc: Len Brown <lenb@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 drivers/misc/intel_menlow.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN drivers/misc/intel_menlow.c~intel_menlo-max_state-is-unsigned-invalid-test drivers/misc/intel_menlow.c
--- a/drivers/misc/intel_menlow.c~intel_menlo-max_state-is-unsigned-invalid-test
+++ a/drivers/misc/intel_menlow.c
@@ -121,7 +121,7 @@ static int memory_set_cur_bandwidth(stru
 	if (memory_get_int_max_bandwidth(cdev, &max_state))
 		return -EFAULT;
 
-	if (max_state < 0 || state > max_state)
+	if (max_state == -1 || state > max_state)
 		return -EINVAL;
 
 	arg_list.count = 1;
_

Patches currently in -mm which might be from roel.kluin@xxxxxxxxx are

atmel_lcdfb-change-irq_base-definition-to-allow-error-reporting.patch
linux-next.patch
intel_menlo-max_state-is-unsigned-invalid-test.patch
u14-34f-fix-scsi_dma_map-failure-case.patch
make-various-things-static.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

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux