Skip to contentSkip to conversation

staging: comedi: drivers: ni_atmio.c: Add a missing semicolon

PATCH In review Kumar Amit Mehta 4 participants 4 messages Mar 15, 2013

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

PATCH 1/1 staging: comedi: drivers: ni_atmio.c: Add a missing semicolon

fix a missing end-of-statement by adding a semicolon.

---
 drivers/staging/comedi/drivers/ni_atmio.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/comedi/drivers/ni_atmio.c +1 -1
index 279f2cd..37372a1 100644
@@ -467,7 +467,7 @@ static int ni_atmio_attach(struct comedi_device *dev,
 		return -EIO;
 
 	dev->board_ptr = ni_boards + board;
-	boardtype = comedi_board(dev)
+	boardtype = comedi_board(dev);
 
 	printk(" %s", boardtype->name);
 	dev->board_name = boardtype->name;
Signature · 1 line
1.7.9.5
#1 lore raw
Quoted 12 lines · Kumar Amit Mehta

fix a missing end-of-statement by adding a semicolon.

---
  drivers/staging/comedi/drivers/ni_atmio.c |    2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/comedi/drivers/ni_atmio.c +0 -0
index 279f2cd..37372a1 100644

drivers/staging/comedi/drivers/ni_atmio.c static int ni_atmio_attach(struct comedi_device *dev, · line 473

Quoted 8 lines
drivers/staging/comedi/drivers/ni_atmio.c +1 -1
@@ -467,7 +467,7 @@ static int ni_atmio_attach(struct comedi_device *dev,
  		return -EIO;
 
  	dev->board_ptr = ni_boards + board;
-	boardtype = comedi_board(dev)
+	boardtype = comedi_board(dev);
 
  	printk(" %s", boardtype->name);
  	dev->board_name = boardtype->name;

Ironically, that was introduced by a patch titled "staging: comedi:
ni_atmio: fix build errors". :-)

Signature · 2 lines
-=( Ian Abbott @ MEV Ltd.    E-mail: <[email protected]>        )=-
-=( Tel: +44 (0)161 477 1898   FAX: +44 (0)161 718 3587         )=-
#2 lore raw
Quoted 19 lines · Ian Abbott
Quoted 18 lines · Kumar Amit Mehta

fix a missing end-of-statement by adding a semicolon.

---
  drivers/staging/comedi/drivers/ni_atmio.c |    2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/comedi/drivers/ni_atmio.c +1 -1
index 279f2cd..37372a1 100644
@@ -467,7 +467,7 @@ static int ni_atmio_attach(struct comedi_device *dev,
  		return -EIO;
 
  	dev->board_ptr = ni_boards + board;
-	boardtype = comedi_board(dev)
+	boardtype = comedi_board(dev);
 
Quoted 5 lines

drivers/staging/comedi/drivers/ni_atmio.c static int ni_atmio_attach(struct comedi_device *dev, · line 473

Quoted 2 lines
drivers/staging/comedi/drivers/ni_atmio.c +0 -0
  	printk(" %s", boardtype->name);
  	dev->board_name = boardtype->name;

Ironically, that was introduced by a patch titled "staging: comedi:
ni_atmio: fix build errors". :-)

My only excuse is that the coffee machine was broken...

Actually, I just realized that this driver as well as the others that depend on ISAPNP were not being compiled on my Debian 6.0 64bit system . I hacked my config to build the ones that depend on ISA but missed the ISAPNP ones.

Sorry about the trouble.

Hartley