Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp1144620rwe; Thu, 1 Sep 2022 13:17:48 -0700 (PDT) X-Google-Smtp-Source: AA6agR6zRcge3ipK6xBbQ49eJbpsIMPZuuu8abrxYCzk+z49BFEVO32hi5+twRAjLYEB7xQlzIDo X-Received: by 2002:aa7:8a0b:0:b0:537:f5f1:fd91 with SMTP id m11-20020aa78a0b000000b00537f5f1fd91mr27278067pfa.41.1662063468207; Thu, 01 Sep 2022 13:17:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662063468; cv=none; d=google.com; s=arc-20160816; b=eTUzaesfjcKClvELXkVS6mi2dR4F9Gy4IIKjuSeQngcv0WGibf6KMDDWNr3roWJvHA sfr7QZF3kinHXcNRInKmPWR3gqrX0DXywLcwgPUWU/GfDz4K/beN2lMeq5UQAgsRj4na tseaD4NFUKDp7yHj2xlaAdSDo9bhLy9Sp80yMLiZmhe/9hezXfhOGfrXEIEnC7AR6QYV iQicKEzQpUGgU6OWfdil+8LNyLEjH3o/J9SeGszyZx/ZKrPGYHFqAHER+C82GJreu/ol KllyPgXQtrm07fPQK262VvLNf4Xs1hO2wLgpxq+P45moybPXhujq165LBbvp9ti5c2aU 1sgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=caA/FC3GwEIv5k9saHBJim4xjLc8yHfbXgArB9Vpu9o=; b=druCyVd/kDXReE+wDR3AMJyjc1TlM89wsARe2rcPY2S60QK7eoNf1X/FkOU+s3SW6s FDccrVftXHiquL29OMJOLiiOkf7RDzf2/Tr9tXsMh0AcYJH3khGAAcVBOTyAcoc88jT7 a+F+YxTiWGYkJcUSkrGJ/6pnjdPKogdPd+9G4ymXxXY+Io6iHQs0nTRNPmerArlNcJpG f07f48QxACuVGMYBflO4WQem4EZ23enmtDKo3N/XHU0+QOquuNIdWv+Z48og90uafcGj bYeWNlKTGXfRCM76S1ucDeBQnqxEhi9KYRMcffPuxnbu8GvS0vCO3PveKD97agzCjnLR 62Hw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=KOA+pEkU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p26-20020a63951a000000b0042a93b62540si7700308pgd.68.2022.09.01.13.17.31; Thu, 01 Sep 2022 13:17:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=KOA+pEkU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234634AbiIATjU (ORCPT + 99 others); Thu, 1 Sep 2022 15:39:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43030 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234628AbiIATjS (ORCPT ); Thu, 1 Sep 2022 15:39:18 -0400 Received: from mail-qt1-x836.google.com (mail-qt1-x836.google.com [IPv6:2607:f8b0:4864:20::836]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9FF769A9B4 for ; Thu, 1 Sep 2022 12:39:17 -0700 (PDT) Received: by mail-qt1-x836.google.com with SMTP id h22so14309064qtu.2 for ; Thu, 01 Sep 2022 12:39:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date; bh=caA/FC3GwEIv5k9saHBJim4xjLc8yHfbXgArB9Vpu9o=; b=KOA+pEkUTKh6NEiZvW0bhOuMsKMrHRq0GZiZppZfrIzhJJlf/cNhMT5nKA3TMNP8r3 Wo6rhkS0WvSoCvTy65pQrh2rO+8OEqebCcaPd40uEpi3IO0luDF8LcQ9/0tQ2BqMelYi 7KKGmUWZbiv3yUcuuoNFr+RhkGCla80rI/V6FLXc2KuqKCeGFT7WsqixGlO6IdDJJCeE hPRCBX5Tc3zbkoRnFBueyUKt3BDNeSo7y5IZFPkqhhUWlTe0EZKfzobTpmLOrXExn8Mk zK0oQRfAldkCNbAo9cRUG2hIAUFxJRbNQ4uCNeDc6iwrGB7z55hO5EJKxzJF4X8ZJCWO kTRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=caA/FC3GwEIv5k9saHBJim4xjLc8yHfbXgArB9Vpu9o=; b=eaghx7NbJaN+V0w0oD6nNTAsK5SU2R5M43SgDlxvTui3LZnKV0TGmBNhPtWjtrpOP+ BMwD/WDuxSRcfqdaGozHWfH0l4waGG7zee6a/9/5c+IW9oXb4tqsSy1aXqJhnm4D5m22 6cg8uopMbtPpYkNf9szNw/wd8997plAcT0Wy7E/n52lNiMpUgLZCHBCS70p74Hk0Nd9o gTEySiisn0W+zsVJ/Aosw+YzLj467yomaoduFFDP+203zOBiI25Dmbc5jBu/O8SElu9X thVgjaAGmf0mq94TY/JRAg/KypnO6q4ft/15m8v/c+SWQlMQgeW1WR/qJtcpsXm6yKoG c1fA== X-Gm-Message-State: ACgBeo0uc2K3SbGF7i8nu4/QAx65caiyK1QegEKxpXQ0TjWxrWRU9OLv 53zdbpNHEBWPomFM6ta2tLDrpY6MhbnSpB0Ikso= X-Received: by 2002:ac8:5786:0:b0:343:3051:170d with SMTP id v6-20020ac85786000000b003433051170dmr25052426qta.429.1662061156594; Thu, 01 Sep 2022 12:39:16 -0700 (PDT) MIME-Version: 1.0 References: <20220901175022.334824-1-cezary.rojewski@intel.com> <20220901175022.334824-3-cezary.rojewski@intel.com> In-Reply-To: <20220901175022.334824-3-cezary.rojewski@intel.com> From: Andy Shevchenko Date: Thu, 1 Sep 2022 22:38:40 +0300 Message-ID: Subject: Re: [PATCH v3 2/2] ASoC: SOF: Remove strsplit_u32() and tokenize_input() To: Cezary Rojewski Cc: ALSA Development Mailing List , Mark Brown , Takashi Iwai , Jaroslav Kysela , amadeuszx.slawinski@linux.intel.com, Pierre-Louis Bossart , Hans de Goede , Liam Girdwood , Kai Vehmanen , =?UTF-8?Q?P=C3=A9ter_Ujfalusi?= , Ranjani Sridharan , Bard Liao , Andy Shevchenko , Linux Kernel Mailing List , Matthew Wilcox Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Sep 1, 2022 at 8:40 PM Cezary Rojewski wrote: > > Make use of global user input tokenization helper instead of the > internal one as both serve same purpose. With that, both strsplit_u32() the same > and tokenize_input() become unused so remove them. ... > #include > #include > #include > +#include I believe either blank line needs to be here (to split the sound / SOF group of headers) or this should be put after 'so*'-ones > #include > #include > #include "sof-client.h" ... > struct sof_probes_priv *priv = cdev->data; > struct device *dev = &cdev->auxdev.dev; > struct sof_probe_point_desc *desc; > - size_t num_tkns, bytes; > - u32 *tkns; > + size_t bytes; > + u32 num_tkns, *tkns; I would expect a longer line first. > int ret, err; ... With the above addressed Reviewed-by: Andy Shevchenko -- With Best Regards, Andy Shevchenko