[PATCH] staging: easycap: replace strict_strto* with kstrto*

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

 



[staging] easycap: replace strict_strtol with kstrtol

 * replace deprecated string conversion

Signed-off-by: Daniel Walter <sahne@xxxxxxx>
---
apply against current linux-2.6 tree
---
 drivers/staging/media/easycap/easycap_ioctl.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/drivers/staging/media/easycap/easycap_ioctl.c b/drivers/staging/media/easycap/easycap_ioctl.c
index 3cee3cd..539c360 100644
--- a/drivers/staging/media/easycap/easycap_ioctl.c
+++ b/drivers/staging/media/easycap/easycap_ioctl.c
@@ -1033,9 +1033,9 @@ long easycap_unlocked_ioctl(struct file *file,
 			if (*p2)
 				*p2++ = 0;
 			if (3 > i) {
-				rc = (int) strict_strtol(p1, 10, &lng);
+				rc = (int) kstrtol(p1, 10, &lng);
 				if (rc) {
-					SAM("ERROR: %i=strict_strtol(%s,.,,)\n",
+					SAM("ERROR: %i=kstrtol(%s,.,,)\n",
 					    rc, p1);
 					mutex_unlock(&easycapdc60_dongle[kd].mutex_video);
 					return -EINVAL;
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel


[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux