From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Grandegger Subject: Re: [PATCH] can: c_can: Fix tx_bytes accounting Date: Thu, 24 Mar 2011 11:00:33 +0100 Message-ID: <4D8B1641.6000706@grandegger.com> References: <16a340801622a96218c76dbbabc7a23f.squirrel@www.linutronix.de> <1300963120.3295.7.camel@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: "Socketcan-core-0fE9KPoRgkgATYTw5x5z8w@public.gmane.org" , "netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "b.spranger-hfZtesqFncYOwBW4kG4KsQ@public.gmane.org" To: Jan Altenberg Return-path: In-Reply-To: <1300963120.3295.7.camel@localhost> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: socketcan-core-bounces-0fE9KPoRgkgATYTw5x5z8w@public.gmane.org Errors-To: socketcan-core-bounces-0fE9KPoRgkgATYTw5x5z8w@public.gmane.org List-Id: netdev.vger.kernel.org Hi Jan, On 03/24/2011 11:38 AM, Jan Altenberg wrote: > Hi Bhupesh, > > as discussed I moved c_can_inval_msg_object() to the end of the if() > statement. That should fix the tx_bytes accounting. For me it's working > fine now. > > Signed-off-by: Jan Altenberg > --- Could you please provide a proper commit message and put other comments below "---". Thanks, Wolfgang.