All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] hamradio/scc: add missing block braces to multi-statement if
@ 2008-05-13 11:16 Ilpo Järvinen
  2008-05-13 11:16 ` [PATCH 2/2] s2io: add missing block braces to multistatement if statement Ilpo Järvinen
  0 siblings, 1 reply; 4+ messages in thread
From: Ilpo Järvinen @ 2008-05-13 11:16 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: netdev, Ilpo J�rvinen

Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>
---
 drivers/net/hamradio/scc.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/drivers/net/hamradio/scc.c b/drivers/net/hamradio/scc.c
index f905159..45ae9d1 100644
--- a/drivers/net/hamradio/scc.c
+++ b/drivers/net/hamradio/scc.c
@@ -1340,9 +1340,10 @@ static unsigned int scc_set_param(struct scc_channel *scc, unsigned int cmd, uns
 		case PARAM_RTS:	
 			if ( !(scc->wreg[R5] & RTS) )
 			{
-				if (arg != TX_OFF)
+				if (arg != TX_OFF) {
 					scc_key_trx(scc, TX_ON);
 					scc_start_tx_timer(scc, t_txdelay, scc->kiss.txdelay);
+				}
 			} else {
 				if (arg == TX_OFF)
 				{
-- 
1.5.2.2


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 2/2] s2io: add missing block braces to multistatement if statement
  2008-05-13 11:16 [PATCH 1/2] hamradio/scc: add missing block braces to multi-statement if Ilpo Järvinen
@ 2008-05-13 11:16 ` Ilpo Järvinen
  2008-05-13 16:22   ` Ramkrishna Vepa
  2008-05-22 10:04   ` Jeff Garzik
  0 siblings, 2 replies; 4+ messages in thread
From: Ilpo Järvinen @ 2008-05-13 11:16 UTC (permalink / raw)
  To: Jeff Garzik
  Cc: netdev, Ilpo J�rvinen, Ramkrishna Vepa, Rastapur Santosh,
	Sivakumar Subramani, Sreenivasa Honnur

Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>
Cc: Ramkrishna Vepa <ram.vepa@neterion.com>
Cc: Rastapur Santosh <santosh.rastapur@neterion.com>
Cc: Sivakumar Subramani <sivakumar.subramani@neterion.com>
Cc: Sreenivasa Honnur <sreenivasa.honnur@neterion.com>
---
 drivers/net/s2io.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/drivers/net/s2io.c b/drivers/net/s2io.c
index 523478e..0f3d230 100644
--- a/drivers/net/s2io.c
+++ b/drivers/net/s2io.c
@@ -1113,9 +1113,10 @@ static int s2io_on_nec_bridge(struct pci_dev *s2io_pdev)
 	struct pci_dev *tdev = NULL;
 	while ((tdev = pci_get_device(PCI_ANY_ID, PCI_ANY_ID, tdev)) != NULL) {
 		if (tdev->vendor == NEC_VENID && tdev->device == NEC_DEVID) {
-			if (tdev->bus == s2io_pdev->bus->parent)
+			if (tdev->bus == s2io_pdev->bus->parent) {
 				pci_dev_put(tdev);
 				return 1;
+			}
 		}
 	}
 	return 0;
-- 
1.5.2.2


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* RE: [PATCH 2/2] s2io: add missing block braces to multistatement if statement
  2008-05-13 11:16 ` [PATCH 2/2] s2io: add missing block braces to multistatement if statement Ilpo Järvinen
@ 2008-05-13 16:22   ` Ramkrishna Vepa
  2008-05-22 10:04   ` Jeff Garzik
  1 sibling, 0 replies; 4+ messages in thread
From: Ramkrishna Vepa @ 2008-05-13 16:22 UTC (permalink / raw)
  To: Ilpo Järvinen, Jeff Garzik
  Cc: netdev, Rastapur Santosh, Sivakumar Subramani, Sreenivasa Honnur

Jeff,

Patch looks good. Please accept.

Thanks,
Ram

> -----Original Message-----
> From: Ilpo Järvinen [mailto:ilpo.jarvinen@helsinki.fi]
> Sent: Tuesday, May 13, 2008 4:17 AM
> To: Jeff Garzik
> Cc: netdev@vger.kernel.org; Ilpo Jrvinen; Ramkrishna Vepa; Rastapur
> Santosh; Sivakumar Subramani; Sreenivasa Honnur
> Subject: [PATCH 2/2] s2io: add missing block braces to multistatement if
> statement
> 
> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>
> Cc: Ramkrishna Vepa <ram.vepa@neterion.com>
> Cc: Rastapur Santosh <santosh.rastapur@neterion.com>
> Cc: Sivakumar Subramani <sivakumar.subramani@neterion.com>
> Cc: Sreenivasa Honnur <sreenivasa.honnur@neterion.com>
> ---
>  drivers/net/s2io.c |    3 ++-
>  1 files changed, 2 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/net/s2io.c b/drivers/net/s2io.c
> index 523478e..0f3d230 100644
> --- a/drivers/net/s2io.c
> +++ b/drivers/net/s2io.c
> @@ -1113,9 +1113,10 @@ static int s2io_on_nec_bridge(struct pci_dev
> *s2io_pdev)
>  	struct pci_dev *tdev = NULL;
>  	while ((tdev = pci_get_device(PCI_ANY_ID, PCI_ANY_ID, tdev)) !=
> NULL) {
>  		if (tdev->vendor == NEC_VENID && tdev->device == NEC_DEVID) {
> -			if (tdev->bus == s2io_pdev->bus->parent)
> +			if (tdev->bus == s2io_pdev->bus->parent) {
>  				pci_dev_put(tdev);
>  				return 1;
> +			}
>  		}
>  	}
>  	return 0;
> --
> 1.5.2.2


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 2/2] s2io: add missing block braces to multistatement if statement
  2008-05-13 11:16 ` [PATCH 2/2] s2io: add missing block braces to multistatement if statement Ilpo Järvinen
  2008-05-13 16:22   ` Ramkrishna Vepa
@ 2008-05-22 10:04   ` Jeff Garzik
  1 sibling, 0 replies; 4+ messages in thread
From: Jeff Garzik @ 2008-05-22 10:04 UTC (permalink / raw)
  To: Ilpo Järvinen
  Cc: netdev, Ramkrishna Vepa, Rastapur Santosh, Sivakumar Subramani,
	Sreenivasa Honnur

Ilpo Järvinen wrote:
> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>
> Cc: Ramkrishna Vepa <ram.vepa@neterion.com>
> Cc: Rastapur Santosh <santosh.rastapur@neterion.com>
> Cc: Sivakumar Subramani <sivakumar.subramani@neterion.com>
> Cc: Sreenivasa Honnur <sreenivasa.honnur@neterion.com>
> ---
>  drivers/net/s2io.c |    3 ++-
>  1 files changed, 2 insertions(+), 1 deletions(-)

applied 1-2



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-05-22 10:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-13 11:16 [PATCH 1/2] hamradio/scc: add missing block braces to multi-statement if Ilpo Järvinen
2008-05-13 11:16 ` [PATCH 2/2] s2io: add missing block braces to multistatement if statement Ilpo Järvinen
2008-05-13 16:22   ` Ramkrishna Vepa
2008-05-22 10:04   ` Jeff Garzik

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.