netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: manual merge of the net-current tree with the scsi-rc-fixes tree
@ 2010-01-04 21:56 Stephen Rothwell
  2010-01-04 22:37 ` David Miller
  0 siblings, 1 reply; 4+ messages in thread
From: Stephen Rothwell @ 2010-01-04 21:56 UTC (permalink / raw)
  To: David Miller, netdev
  Cc: linux-next, linux-kernel, Rakesh Ranjan, James Bottomley

[-- Attachment #1: Type: text/plain, Size: 892 bytes --]

Hi all,

Today's linux-next merge of the net-current tree got a conflict in
drivers/scsi/cxgb3i/cxgb3i_offload.c between commit
44214ab474671e1ab5a860954db413bce52f7e04 ("[SCSI] cxgb3i: Fix a login
over vlan issue") from the scsi-rc-fixes tree and commit
52ee264bca378835decb827d18b1d90b709ca4c9 ("cxgb3i: Fix a login over vlan
issue") from the net-current tree.

These seem to be different version of the same change.  The version in
the net-current tree looks wrong - it contains

if (dev->priv_flags && IFF_802_1Q_VLAN)

but it presumably should be

if (dev->priv_flags & IFF_802_1Q_VLAN)

as in the scsi-rc-fixes version.

I used the version from the scsi-rc-fixes tree (even though it is dated
12 days earlier). (There was also a comment format difference.)
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

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

* Re: linux-next: manual merge of the net-current tree with the scsi-rc-fixes tree
  2010-01-04 21:56 linux-next: manual merge of the net-current tree with the scsi-rc-fixes tree Stephen Rothwell
@ 2010-01-04 22:37 ` David Miller
  2010-01-05  3:41   ` Stephen Rothwell
  2010-01-05  5:09   ` Rakesh Ranjan
  0 siblings, 2 replies; 4+ messages in thread
From: David Miller @ 2010-01-04 22:37 UTC (permalink / raw)
  To: sfr; +Cc: netdev, linux-next, linux-kernel, rakesh, James.Bottomley

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Tue, 5 Jan 2010 08:56:13 +1100

> Today's linux-next merge of the net-current tree got a conflict in
> drivers/scsi/cxgb3i/cxgb3i_offload.c between commit
> 44214ab474671e1ab5a860954db413bce52f7e04 ("[SCSI] cxgb3i: Fix a login
> over vlan issue") from the scsi-rc-fixes tree and commit
> 52ee264bca378835decb827d18b1d90b709ca4c9 ("cxgb3i: Fix a login over vlan
> issue") from the net-current tree.
> 
> These seem to be different version of the same change.  The version in
> the net-current tree looks wrong - it contains
> 
> if (dev->priv_flags && IFF_802_1Q_VLAN)
> 
> but it presumably should be
> 
> if (dev->priv_flags & IFF_802_1Q_VLAN)
> 
> as in the scsi-rc-fixes version.

I checked the following into my tree so it should all work out.

commit d3af9dd04f8795dc2761ecfa56632e4d0df0dae2
Author: David S. Miller <davem@davemloft.net>
Date:   Mon Jan 4 14:36:40 2010 -0800

    cxgb3i: Fix flags test.
    
    As noticed by Stephen Rothwell.
    
    Signed-off-by: David S. Miller <davem@davemloft.net>

diff --git a/drivers/scsi/cxgb3i/cxgb3i_offload.c b/drivers/scsi/cxgb3i/cxgb3i_offload.c
index 4b8a513..7449d46 100644
--- a/drivers/scsi/cxgb3i/cxgb3i_offload.c
+++ b/drivers/scsi/cxgb3i/cxgb3i_offload.c
@@ -1442,7 +1442,7 @@ static int is_cxgb3_dev(struct net_device *dev)
 	struct cxgb3i_sdev_data *cdata;
 	struct net_device *ndev = dev;
 
-	if (dev->priv_flags && IFF_802_1Q_VLAN)
+	if (dev->priv_flags & IFF_802_1Q_VLAN)
 		ndev = vlan_dev_real_dev(dev);
 
 	write_lock(&cdata_rwlock);

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

* Re: linux-next: manual merge of the net-current tree with the scsi-rc-fixes tree
  2010-01-04 22:37 ` David Miller
@ 2010-01-05  3:41   ` Stephen Rothwell
  2010-01-05  5:09   ` Rakesh Ranjan
  1 sibling, 0 replies; 4+ messages in thread
From: Stephen Rothwell @ 2010-01-05  3:41 UTC (permalink / raw)
  To: David Miller; +Cc: netdev, linux-next, linux-kernel, rakesh, James.Bottomley

[-- Attachment #1: Type: text/plain, Size: 286 bytes --]

Hi Dave,

On Mon, 04 Jan 2010 14:37:05 -0800 (PST) David Miller <davem@davemloft.net> wrote:
>
> I checked the following into my tree so it should all work out.

Thanks.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

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

* Re: linux-next: manual merge of the net-current tree with the scsi-rc-fixes tree
  2010-01-04 22:37 ` David Miller
  2010-01-05  3:41   ` Stephen Rothwell
@ 2010-01-05  5:09   ` Rakesh Ranjan
  1 sibling, 0 replies; 4+ messages in thread
From: Rakesh Ranjan @ 2010-01-05  5:09 UTC (permalink / raw)
  To: David Miller
  Cc: sfr, netdev, linux-next, linux-kernel, James.Bottomley,
	Rakesh Ranjan

On 01/05/2010 04:07 AM, David Miller wrote:
> From: Stephen Rothwell<sfr@canb.auug.org.au>
> Date: Tue, 5 Jan 2010 08:56:13 +1100
>
>> Today's linux-next merge of the net-current tree got a conflict in
>> drivers/scsi/cxgb3i/cxgb3i_offload.c between commit
>> 44214ab474671e1ab5a860954db413bce52f7e04 ("[SCSI] cxgb3i: Fix a login
>> over vlan issue") from the scsi-rc-fixes tree and commit
>> 52ee264bca378835decb827d18b1d90b709ca4c9 ("cxgb3i: Fix a login over vlan
>> issue") from the net-current tree.
>>
>> These seem to be different version of the same change.  The version in
>> the net-current tree looks wrong - it contains
>>
>> if (dev->priv_flags&&  IFF_802_1Q_VLAN)
>>
>> but it presumably should be
>>
>> if (dev->priv_flags&  IFF_802_1Q_VLAN)
>>
>> as in the scsi-rc-fixes version.
>
> I checked the following into my tree so it should all work out.
>
> commit d3af9dd04f8795dc2761ecfa56632e4d0df0dae2
> Author: David S. Miller<davem@davemloft.net>
> Date:   Mon Jan 4 14:36:40 2010 -0800
>
>      cxgb3i: Fix flags test.
>
>      As noticed by Stephen Rothwell.
>
>      Signed-off-by: David S. Miller<davem@davemloft.net>
>
> diff --git a/drivers/scsi/cxgb3i/cxgb3i_offload.c b/drivers/scsi/cxgb3i/cxgb3i_offload.c
> index 4b8a513..7449d46 100644
> --- a/drivers/scsi/cxgb3i/cxgb3i_offload.c
> +++ b/drivers/scsi/cxgb3i/cxgb3i_offload.c
> @@ -1442,7 +1442,7 @@ static int is_cxgb3_dev(struct net_device *dev)
>   	struct cxgb3i_sdev_data *cdata;
>   	struct net_device *ndev = dev;
>
> -	if (dev->priv_flags&&  IFF_802_1Q_VLAN)
> +	if (dev->priv_flags&  IFF_802_1Q_VLAN)
>   		ndev = vlan_dev_real_dev(dev);
>
>   	write_lock(&cdata_rwlock);

Hi David,

Sorry for the typo and thanks for fixing it.

Regards
Rakesh Ranjan

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

end of thread, other threads:[~2010-01-05  5:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-04 21:56 linux-next: manual merge of the net-current tree with the scsi-rc-fixes tree Stephen Rothwell
2010-01-04 22:37 ` David Miller
2010-01-05  3:41   ` Stephen Rothwell
2010-01-05  5:09   ` Rakesh Ranjan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).