Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp1864219rwe; Fri, 2 Sep 2022 05:13:05 -0700 (PDT) X-Google-Smtp-Source: AA6agR5fCy6pjXtD2YiBCACa/Qt0rrko32OzUjXILEILFgW4Tnf/R0ddjJjWz9k+C7sl16f9Pen2 X-Received: by 2002:a17:90a:8b82:b0:1fa:973c:1d34 with SMTP id z2-20020a17090a8b8200b001fa973c1d34mr4581139pjn.31.1662120785235; Fri, 02 Sep 2022 05:13:05 -0700 (PDT) Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k1-20020a637b41000000b00429d128d26asi1807213pgn.143.2022.09.02.05.12.51; Fri, 02 Sep 2022 05:13:05 -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=@intel.com header.s=Intel header.b=Mde8tJNn; arc=fail (signature failed); 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=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235546AbiIBLvo (ORCPT + 99 others); Fri, 2 Sep 2022 07:51:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55184 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232557AbiIBLvi (ORCPT ); Fri, 2 Sep 2022 07:51:38 -0400 Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 382D7B81CE for ; Fri, 2 Sep 2022 04:51:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1662119498; x=1693655498; h=message-id:date:subject:to:cc:references:from: in-reply-to:content-transfer-encoding:mime-version; bh=LMoci+CyB49ZbH2dxlku2lDcbzzCtfn+jqKJzCYhSlU=; b=Mde8tJNnY4Xn6eASlF3K8nlkEaih0PrcD+rVXE3tjkkfsh+GBMih+E9f botieFRpdjGAajqucpb8pv5S3ngygEzbNEeGSAMxNq6iGglDPhwLXPGlc AmTWANi+3nqbtRUqQS087f7JPp02QpFa7P7ZwTt8D3RXwsoWvIVaEiAhX HVVtldPYOvfLHVfYMUvGVecHsPuJpmZKdG9LCPfcgeDWvGj8Q6pMHb6LC YuAA+e9wwm8p6L19g3tcVwMiF6fsJVeWjzJNggtuQ9VBxGShMJ2SagqTf cZcJQfyLbwuwtrWBnxX0dDPP9663/RG7byaQPVo+urQOIXnjNTZADuGS7 Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10457"; a="295970038" X-IronPort-AV: E=Sophos;i="5.93,283,1654585200"; d="scan'208";a="295970038" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Sep 2022 04:51:36 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,283,1654585200"; d="scan'208";a="590043903" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by orsmga006.jf.intel.com with ESMTP; 02 Sep 2022 04:51:35 -0700 Received: from fmsmsx609.amr.corp.intel.com (10.18.126.89) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Fri, 2 Sep 2022 04:51:35 -0700 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx609.amr.corp.intel.com (10.18.126.89) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Fri, 2 Sep 2022 04:51:35 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx611.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31 via Frontend Transport; Fri, 2 Sep 2022 04:51:35 -0700 Received: from NAM02-DM3-obe.outbound.protection.outlook.com (104.47.56.41) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2375.31; Fri, 2 Sep 2022 04:51:34 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=k8bU2xFIPb2r5PllGMxlZcOV9fzoz4cfbr7N1LUA+tTzhcfp+eki8TEQFJkK7VhIh5YCr9/ja3TekwdT5ZJIUkU+41f7C6ChFBt/BnNkavYA8e4v6lWS+dQjHXLFcKGevp1oUA+iyLUYx+AQ/nMr/pYIhP/cmCzofYAQhmkvq91EPN8rJ3G/nFIWvovdvVdeZCDV0x76HRna3p5pr4Wml+QksrZhcgVMEQBd7S0E3elWYNZeb5DzfhYb1bQJyC1t0VHYximWcA0ohaIn24+6SnD35wQv6QBbA9Ah7UAbwWT1VkG6wADyfJc7YidqC3v0ybxnKhjqdF3itUFl//DD7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=DcjXQvGeHeO3zt3d/+frhwRUA+cvIi74SKZHs1n/rUU=; b=CSSBu6Qdnty+KUfRTVV58I35esUf/l5xcOVCdiBscM6SI13Gm4/wbdn8JpOu5g00jp2663n+KuhsZWFlfIgdI7/xp726fwZuf47vNtRU8hTuGH2JPOjR6ZHF+OVqfYTtqJD36jukE1qzqzqHg4msvaGKLPcSByH0aXQM27kO4Ha7I9GzoeLdxuUFTZP+F01i0AEnM7xYWP4fu5rb30nQJlR8y7ZqO9thy1bLftmnbAFKFbFiMcYPFwYk5kX3Wd16gvwga6JKY/ZFPAE21F3FM41Et7cI4Rj00/aJv5ekou2OPlBa5IoMte7qmr9myyPN6N793K6aEsHHVTHffL1ujA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from DS0PR11MB6375.namprd11.prod.outlook.com (2603:10b6:8:c9::21) by BYAPR11MB3717.namprd11.prod.outlook.com (2603:10b6:a03:b0::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5566.16; Fri, 2 Sep 2022 11:51:33 +0000 Received: from DS0PR11MB6375.namprd11.prod.outlook.com ([fe80::f9e1:f470:f60f:fb02]) by DS0PR11MB6375.namprd11.prod.outlook.com ([fe80::f9e1:f470:f60f:fb02%7]) with mapi id 15.20.5566.015; Fri, 2 Sep 2022 11:51:33 +0000 Message-ID: Date: Fri, 2 Sep 2022 13:51:25 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Firefox/102.0 Thunderbird/102.2.0 Subject: Re: [PATCH v3 2/2] ASoC: SOF: Remove strsplit_u32() and tokenize_input() To: Andy Shevchenko CC: ALSA Development Mailing List , Mark Brown , Takashi Iwai , Jaroslav Kysela , , 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 References: <20220901175022.334824-1-cezary.rojewski@intel.com> <20220901175022.334824-3-cezary.rojewski@intel.com> Content-Language: en-US From: Cezary Rojewski In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: FR3P281CA0141.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:95::14) To DS0PR11MB6375.namprd11.prod.outlook.com (2603:10b6:8:c9::21) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: fbad2007-87e4-4d7b-eb08-08da8cd97b0c X-MS-TrafficTypeDiagnostic: BYAPR11MB3717:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: fcPdwD2Chy7MUHcOzwXkbiVfUBQBeaRsLqw2pgiYdhQw8iluTqupGp082N1Xa9/Boo9G9M1L1/oCeZ8f+ZlHrWTbL5Vkin6q5gbI4kDUIZp2hGtORd0xmSa949QGX7gSNmZySssrJVdKI37BihM7XtV2RnTpvLv2hAh0zXOXmPRBR8LLCe7f0r2xppFsXJMsEGiizbkmryDo+rya1hDNytJHRql42U0HIr32lfnGQcwif3Az38Zvedt1hjUSn9FRRG5HJ4sMdL4BsnIKRiqo+kO4Hc7VBkMrQ7NL5dC9tJsaSb5fcV9aQ/SwbesTr55OjS4iVLjKD26BDIxrl9X/LwUU1zs+y2YCTraMPtoOGNojMTYRemNjbB6JKXxUWdj+wh0lEqlLCM/YuDZdX5fdzvKq1zYuI6Crcy7h5870VbRFYBPxMcITkuLoh11qOSE4ht5F4D6I4wJSi6b+j3Q3ePInSvGJxzmbEhdEtpyoqMxpSR0rf07Lg6pXcPD2a1vp3vb6tq7nGqfaB2i+u7zkhfN5f/8RJX3DjjwsnP7HDgw4vwk1cN54T5EgRw0nk5mJXSef/U5YtaFzYZxPDVDgKv6zTLUprJ77JjzkpuRk03Cj8NVyAMGas4tJ7vFEeeX/TJKgRnsy5fDuG1h9fYKqiTwaEJQyY2eklg0sPzXHxvbAYToXsxTsPBhMVUQl3WV6sDMjyCgHbJEUFcVY3LrA7gwSTegk6pOW/YgPy4tKfrLnmuG85x1sigz6VWYQjOvFIloYN/ri3bSuGDfUd/IYg7kMT/lJX/ZFrBzDjZN6VAM= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DS0PR11MB6375.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(39860400002)(366004)(136003)(376002)(346002)(396003)(186003)(2616005)(2906002)(316002)(6916009)(6512007)(31686004)(6666004)(36756003)(6506007)(44832011)(26005)(53546011)(66476007)(82960400001)(66556008)(31696002)(4326008)(6486002)(8936002)(7416002)(54906003)(38100700002)(86362001)(478600001)(41300700001)(5660300002)(66946007)(8676002)(45980500001)(43740500002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?cXlWN3Z5OGZSZ3NibDBMQXFscW04NEVRaTR4TW9zUFZLUHJVTVRITkxkT3hv?= =?utf-8?B?elU1YUZOVnJnbXhSRDFvbmJUZWZGM2JneVBLTzJlWmlKNjRVY05CREFJYUpn?= =?utf-8?B?ZEM1VHFUeWUxZUtJamplQUV3dEVHMkkxVnZsL2F1aW8zbWpsa3BJMVhLbDJJ?= =?utf-8?B?MmVaZWMzZ2tMZU1wQVNaOWt2K3V5RVEvaENwV01Sc0Q3ZTlrVlNGUmNNMDVx?= =?utf-8?B?KzF1NWlnZXlrODlWTFlXUGtGdGZiL2Zld3RNK09vdmFpUXFrdndOUVZqOFVC?= =?utf-8?B?eG11VlE1VlpZOGRvemtiMm9UaHNhWlFYUk8wRUdiRlhlNEJsQVJqS2F0SWxr?= =?utf-8?B?ckZjNTc3MDdWbklFZkI0V2QwcDJNMlo4NEcyWG1vZHc4T3ZsQWxaSzJ4Nno2?= =?utf-8?B?RkdyVVNneTErMWxRTkMwL3ppa3luRkZYT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thSource: DS0PR11MB6375.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Sep 2022 11:51:32.8940 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 6shtlk2OTB8Wm/nuuwF3DzFj3wH5YeQleD5XSx9zUORexEq0IPMcJo76fsJ9vvFtozohniSjPctUyUV7cDZFVLAVhYRZQ+weF5vFHryEX60= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR11MB3717 X-OriginatorOrg: intel.com X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_NONE,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 2022-09-01 9:38 PM, Andy Shevchenko wrote: > 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 Newline it is then. >> #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. Ack. > With the above addressed > Reviewed-by: Andy Shevchenko >