Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp2642374pxu; Mon, 7 Dec 2020 11:33:00 -0800 (PST) X-Google-Smtp-Source: ABdhPJzRs/YjsOlwYaLPgsPobFb5wc5RUW5yeq06uzjruHLcUP/bpTT0x5Li780DCIzWFqKK106i X-Received: by 2002:a17:906:a43:: with SMTP id x3mr19652462ejf.197.1607369579955; Mon, 07 Dec 2020 11:32:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607369579; cv=none; d=google.com; s=arc-20160816; b=xhG2gbY4WIwoYR6VKMcYb7YHgu97Bc+jN8T8v4xKV/fmPr/8CM/TW5II+VFstko9Gb jnS1vAgZQV6juCmq+VQqIasspeoZCs6bTiOG4GLj/jGN+MLxPwu1hQ82/rcliFEPMtae yHvPVy2iSIo6vOZPhuh3rHrS5hQzYh4m+pSoC4lwPoOjhRazNSG3iK8t6VwV5n0KJQxA 8wgFM8+we7t0DZtqAWLLfgrj5FpXOGK7GpINP4XjQRNzsjNpzRuSDOGBNeIk6EaLzswh dnp0g6nC4Z/bip+7IeMheIeTY75jNClOm88e8VgTVlmn97lrN1EgODmw94RJfg4YoXFY LsvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=cZqRqzzqTJpknEs0CnK22ZBuDGZ65Un7ziCo1satOA0=; b=DpVJJy8jhaH0Ne5QS3KlyL+Jgudkplqc9uetKNkJLmQDtrXJ0oDPhOuW4B+6f+ji5K 5U5ZgWQWHtl1NrpfCiTyHxqfBozLwpSS97UqZVAN9N/OqbxV6pMAlc0y+2IExFKpbKMU Ta7t+ZlZj6aPF6ijkcaC/S/2Eu/dCAnlvFud6UdkCSZaOr+EkppdnJi+S7kfNHYJQ7tA OeGi07jtPrevxViDOUuUjluu9H18VZbWxjS/cfKKN+h+SC7N7sZGqYoT6hhz/6q5AD2h 2P324bfCQihIBRpjCrIpe6JWZKOOAwg6L+e4Nl4jPBr9wkXxLyPRux6SBtu0KcHfC8EN EIMA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m11si9086778eda.522.2020.12.07.11.32.37; Mon, 07 Dec 2020 11:32:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726626AbgLGTaE (ORCPT + 99 others); Mon, 7 Dec 2020 14:30:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58858 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725808AbgLGTaC (ORCPT ); Mon, 7 Dec 2020 14:30:02 -0500 X-Greylist: delayed 129 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Mon, 07 Dec 2020 11:29:22 PST Received: from faui03.informatik.uni-erlangen.de (faui03.informatik.uni-erlangen.de [IPv6:2001:638:a000:4130:131:188:30:103]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A135BC061793; Mon, 7 Dec 2020 11:29:22 -0800 (PST) Received: from cipterm0.informatik.uni-erlangen.de (cipterm0.cip.cs.fau.de [131.188.30.90]) by faui03.informatik.uni-erlangen.de (Postfix) with ESMTP id 31FE924008B; Mon, 7 Dec 2020 20:29:21 +0100 (CET) Received: by cipterm0.informatik.uni-erlangen.de (Postfix, from userid 67858) id 280D43280304; Mon, 7 Dec 2020 20:29:21 +0100 (CET) From: Philipp Gerlesberger To: linux-kernel@vger.kernel.org Cc: Philipp Gerlesberger , linux-media@vger.kernel.org, devel@driverdev.osuosl.org, mchehab@kernel.org, sakari.ailus@linux.intel.com, gregkh@linuxfoundation.org, ij72uhux@stud.informatik.uni-erlangen.de, linux-kernel@i4.cs.fau.de Subject: [PATCH 01/12] media: atomsip: Convert comments to C99 initializers Date: Mon, 7 Dec 2020 20:26:27 +0100 Message-Id: <20201207192638.15219-2-Philipp.Gerlesberger@fau.de> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20201207192638.15219-1-Philipp.Gerlesberger@fau.de> References: <20201207192638.15219-1-Philipp.Gerlesberger@fau.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The struct initalizers have been changed as recommended on https://kernelnewbies.org/KernelJanitors/Todo Co-developed-by: Andrey Khlopkov Signed-off-by: Andrey Khlopkov Signed-off-by: Philipp Gerlesberger --- .../atomisp/pci/runtime/rmgr/src/rmgr_vbuf.c | 30 +++++++++---------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/drivers/staging/media/atomisp/pci/runtime/rmgr/src/rmgr_vbuf.c b/drivers/staging/media/atomisp/pci/runtime/rmgr/src/rmgr_vbuf.c index b4f53be18e7f..af61d05e88d3 100644 --- a/drivers/staging/media/atomisp/pci/runtime/rmgr/src/rmgr_vbuf.c +++ b/drivers/staging/media/atomisp/pci/runtime/rmgr/src/rmgr_vbuf.c @@ -31,33 +31,33 @@ static struct ia_css_rmgr_vbuf_handle handle_table[NUM_HANDLES]; * @brief VBUF resource pool - refpool */ static struct ia_css_rmgr_vbuf_pool refpool = { - false, /* copy_on_write */ - false, /* recycle */ - 0, /* size */ - 0, /* index */ - NULL, /* handles */ + .copy_on_write = false, + .recycle = false, + .size = 0, + .index = 0, + .handles = NULL, }; /* * @brief VBUF resource pool - writepool */ static struct ia_css_rmgr_vbuf_pool writepool = { - true, /* copy_on_write */ - false, /* recycle */ - 0, /* size */ - 0, /* index */ - NULL, /* handles */ + .copy_on_write = true, + .recycle = false, + .size = 0, + .index = 0, + .handles = NULL, }; /* * @brief VBUF resource pool - hmmbufferpool */ static struct ia_css_rmgr_vbuf_pool hmmbufferpool = { - true, /* copy_on_write */ - true, /* recycle */ - 32, /* size */ - 0, /* index */ - NULL, /* handles */ + .copy_on_write = true, + .recycle = true, + .size = 32, + .index = 0, + .handles = NULL, }; struct ia_css_rmgr_vbuf_pool *vbuf_ref = &refpool; -- 2.20.1