Skip to contentSkip to conversation

Staging: media: Added semicolon.

PATCH In review Stevean Raja Kumar 3 participants 3 messages Oct 4, 2014 – Oct 6, 2014 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Staging: media: Added semicolon.

Added semicolon for the line usleep_range(10000, 11000);

---
 drivers/staging/media/cxd2099/cxd2099.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/media/cxd2099/cxd2099.c +1 -1
index cda1595..657ea48 100644
@@ -527,7 +527,7 @@ static int slot_reset(struct dvb_ca_en50221 *ca, int slot)
 		u8 val;
 #endif
 		for (i = 0; i < 100; i++) {
-			usleep_range(10000, 11000)
+			usleep_range(10000, 11000);
 #if 0
 			read_reg(ci, 0x06, &val);
 			dev_info(&ci->i2c->dev, "%d:%02x\n", i, val);
Signature · 1 line
1.9.1
#1 lore raw
Quoted 1 line · Stevean Raja Kumar

Added semicolon for the line usleep_range(10000, 11000);

Against which kernel is this patch? I don't see a usleep_range in either the mainline kernel or the media_tree.git kernel.

Regards,

Hans

Quoted 20 lines
---
 drivers/staging/media/cxd2099/cxd2099.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/media/cxd2099/cxd2099.c +1 -1
index cda1595..657ea48 100644
@@ -527,7 +527,7 @@ static int slot_reset(struct dvb_ca_en50221 *ca, int slot)
 		u8 val;
 #endif
 		for (i = 0; i < 100; i++) {
-			usleep_range(10000, 11000)
+			usleep_range(10000, 11000);
 #if 0
 			read_reg(ci, 0x06, &val);
 			dev_info(&ci->i2c->dev, "%d:%02x\n", i, val);

A message that is not in the archive (sent off-list or not yet received): CAM4Bvj6pAN_5xsjgheJrkMm0W_6oeG0VUDCE+ijAcOV7ojSa2g@mail.gmail.com

maintainer
#3 lore raw
Quoted 4 lines · Stevean Rk

Its against  3.17.0-rc6+
I had cloned the Greg Kroah-Hartman's staging tree repository.
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git

Which branch? 3.17-rc6 is quite old, you need to work against the staging-next branch in there if you want to send patches that can apply properly.

thanks,

greg k-h