Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755470AbZFNJog (ORCPT ); Sun, 14 Jun 2009 05:44:36 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750796AbZFNJo3 (ORCPT ); Sun, 14 Jun 2009 05:44:29 -0400 Received: from einhorn.in-berlin.de ([192.109.42.8]:60350 "EHLO einhorn.in-berlin.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750766AbZFNJo3 (ORCPT ); Sun, 14 Jun 2009 05:44:29 -0400 X-Envelope-From: stefanr@s5r6.in-berlin.de Date: Sun, 14 Jun 2009 11:44:24 +0200 (CEST) From: Stefan Richter Subject: [PATCH] firewire: core: use more outbound tlabels To: linux1394-devel@lists.sourceforge.net cc: linux-kernel@vger.kernel.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; CHARSET=us-ascii Content-Disposition: INLINE Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1039 Lines: 32 This appears to be a typo. Tlabel is a 6 bits wide datum; we should wrap it after 63 rather than 31. Signed-off-by: Stefan Richter --- drivers/firewire/core-transaction.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: b/drivers/firewire/core-transaction.c =================================================================== --- a/drivers/firewire/core-transaction.c +++ b/drivers/firewire/core-transaction.c @@ -294,7 +294,7 @@ void fw_send_request(struct fw_card *car return; } - card->current_tlabel = (card->current_tlabel + 1) & 0x1f; + card->current_tlabel = (card->current_tlabel + 1) & 0x3f; card->tlabel_mask |= (1 << tlabel); t->node_id = destination_id; -- Stefan Richter -=====-==--= -==- -===- http://arcgraph.de/sr/ -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/