Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp670629ybl; Thu, 22 Aug 2019 03:05:58 -0700 (PDT) X-Google-Smtp-Source: APXvYqzOwBfqTaCppV9ACHe8XaPu3+zr0w6OLLIgoOC4rbtw/8HY2PTlxaTxlvyYiIuWRZrObmei X-Received: by 2002:a17:902:5a0d:: with SMTP id q13mr9684099pli.5.1566468358020; Thu, 22 Aug 2019 03:05:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566468358; cv=none; d=google.com; s=arc-20160816; b=WMBZ76nkkompq1GghjTxvAdWV4iYd/1168Ap6ZF94HejzviBVzIB66Y8hixbuDN9+A B/MiRM0ou0mXRa+B/Hj4CHxCrxFMh0lNVnTr9BP05nBxOLGTUypPf4gyZf5wqCMiLnLE j0eqyPIdLN77i62Id2NoQ78nj1dszFzJ4LNwc7HGbG9I0MiTOjNpURYL2rTSQxQK3yFo NE9Ofb2O66eAIOZz/zcjKK6JSPoerSTy2TxFaIGhHYsM0ci7QPaWdtdMGXfrpyYe132r wWzrUG0JL14kxOC2hTg9O2wUoImLa1vbcXAUqeVoV3i0J9ogjzyHD8XcZGU60HQy9dfm zMjg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=G8FKM7F7+etTbBax3CRRsLceyLusCL1nn/ONMolKZPw=; b=fW8JzZp23q6l8o6hhgqEQbPhfme3qXVk0a7mOrkQ/k83zR8gFsW2lsOvkHdI4Nrxvo /Juhm1wo5lxGUbe8fHGEXF6kcdi1M5pIqBpM38dqqRWyhtv6K4bHBOUYCL7mYD8iciCp kTWbzDByv+rADIIzhk9GxU4USYInmcx25AmoSKe7V8X2AEHXIGdXyUgn/1O89xhWV8L0 a2pCVdeRRZfG9IuLvDpqlBSoBxD4EJaY2Z6JQthsK1Hdz3YvDbf0Cu5D3+oo1lVDhICj f5StCwrWYRQcprBnn/Tgzmp5a+HpTPHse5xKXHzYkEjsXrOEW/rsjurNaEWkBmr2Lbdw k6Vw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z27si18417652pfj.225.2019.08.22.03.05.42; Thu, 22 Aug 2019 03:05:58 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732979AbfHVJKF (ORCPT + 99 others); Thu, 22 Aug 2019 05:10:05 -0400 Received: from gofer.mess.org ([88.97.38.141]:45139 "EHLO gofer.mess.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732969AbfHVJKE (ORCPT ); Thu, 22 Aug 2019 05:10:04 -0400 Received: by gofer.mess.org (Postfix, from userid 1000) id C9931603F6; Thu, 22 Aug 2019 10:10:02 +0100 (BST) Date: Thu, 22 Aug 2019 10:10:02 +0100 From: Sean Young To: Marc Gonzalez Cc: Antti Palosaari , Mauro Carvalho Chehab , Brad Love , linux-media , LKML , Jonathan =?iso-8859-1?Q?Neusch=E4fer?= Subject: Re: [PATCH v4] media: si2168: Refactor command setup code Message-ID: <20190822091002.7v7slkrilwfz3d3c@gofer.mess.org> References: <06171488-7530-d4e4-1b94-f82905ed383d@free.fr> <499bea86-f483-f776-4512-510c5df9d78f@free.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <499bea86-f483-f776-4512-510c5df9d78f@free.fr> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Aug 19, 2019 at 01:54:53PM +0200, Marc Gonzalez wrote: > On 15/07/2019 11:50, Marc Gonzalez wrote: > > > Use cmd_init() to fill a struct si2168_cmd command. > > > > Signed-off-by: Marc Gonzalez > > --- > > Changes from v1: > > - Use a real function to populate struct si2168_cmd *cmd, and a trivial > > macro wrapping it (macro because sizeof). > > Changes from v2: > > - Fix header mess > > - Add Jonathan's tag > > Changes from v3: > > - Drop Jonathan's tag after rewrite > > - Completely drop macro, and explicitly provide 'wlen' argument > > --- > > drivers/media/dvb-frontends/si2168.c | 152 ++++++++------------------- > > 1 file changed, 44 insertions(+), 108 deletions(-) > > Brad, Sean, Antti, > > I believe this patch is good to go. Is anything still wrong with it? It's been accepted: https://git.linuxtv.org/media_tree.git/commit/?id=619f6fc390909fce3247c3e07e6882b868b645da Thanks, Sean