From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mout.web.de ([217.72.192.78]:52075 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754768AbcJNMB7 (ORCPT ); Fri, 14 Oct 2016 08:01:59 -0400 Subject: Re: [media] RedRat3: Move two assignments in redrat3_transmit_ir()? To: Dan Carpenter References: <566ABCD9.1060404@users.sourceforge.net> <81cef537-4ad0-3a74-8bde-94707dcd03f4@users.sourceforge.net> <20161014081524.GF5687@mwanda> Cc: linux-media@vger.kernel.org, Hans Verkuil , Mauro Carvalho Chehab , Sean Young , Wolfram Sang , LKML , kernel-janitors@vger.kernel.org, Julia Lawall From: SF Markus Elfring Message-ID: Date: Fri, 14 Oct 2016 14:01:37 +0200 MIME-Version: 1.0 In-Reply-To: <20161014081524.GF5687@mwanda> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-media-owner@vger.kernel.org List-ID: > The original code was correct. Your view can be appropriate for this function implementation to some degree. I got the impression that it contains the specification of assignments which will happen a bit too early here. Is this a weakness for which software developers can care about? Regards, Markus