Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp680634imw; Fri, 8 Jul 2022 09:46:10 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sufCltZl0BtYNHYjoCIaRszA6PrRrya4Zwjao5feafBvSLNzhwes/a7MsqICC5fdvptO8f X-Received: by 2002:a17:907:3a11:b0:726:4573:1b6 with SMTP id fb17-20020a1709073a1100b00726457301b6mr4576647ejc.672.1657298770763; Fri, 08 Jul 2022 09:46:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657298770; cv=none; d=google.com; s=arc-20160816; b=w0NCPqo7NCzyvVjhe5F3W0ts+23fbifslQ9n9++aUZwC/YF23swClp0Qz6pBrbF0WO kzqyAWpCE8dqj28jzwTJ+Ub0t0pbuVzHrw2LzVEcHA5sPsSGsDKtAtvwBQDtGqKwAsQL /7fGqz7EomWDGPRw2lgOyzXGXVPtk5/yBB876rYP/9WluSIcH+fne6j7WmLGxznUjelh aF/aMiuln9DxORS2J5Dbck3i6elRzJK712Dg8v0wop4X+f3pzrgssFuh3zDKALNUTtao 9nCJ2+xosrf726xvnmcnWryyGZBxR431u2dgAadY1vPXG9Fm7riGC/ciihzQ/aYMiTwo PS5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=YMEGxIrE4woAf5cnzkZ+3hQp7ZS3VGf+M1Bxpp05xRA=; b=UVeN4gNxmK0TGE8jbmWi6XdEzwv3rx5VJSGukxTNogNDsyVxj7xLgf4KJFkAQRahiO AqVCgoJ1LWYBdWAHXW5WuVaaht2cWb34D0sz2rWn4VssuJkW4CTm2ER+pyxBzE7610vE pADAI4OpcTEoP3TMAsqyL48w3OqJDMXUj1DFKXru9ZpOIxPYyge1R3NNCRCDSevBbgAJ K8ZQBLcMtn+9liZUkQMNeytElfvIDTte+Gxot5Kd8yik5EWw7iIJn4vqPlzYW5I96rl/ KYy/vWGhEKzgRXawLOMB69qYvGGxfjrULROAmsUaBmEWesRH1vnIa7pD/Kzt6WawgMrh rMeQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=ecaQUHS0; 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 t3-20020a170906948300b006feb76dbd51si5441011ejx.289.2022.07.08.09.45.44; Fri, 08 Jul 2022 09:46:10 -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=ecaQUHS0; 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 S238566AbiGHP3X (ORCPT + 99 others); Fri, 8 Jul 2022 11:29:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48360 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238476AbiGHP3V (ORCPT ); Fri, 8 Jul 2022 11:29:21 -0400 Received: from mail-yb1-xb30.google.com (mail-yb1-xb30.google.com [IPv6:2607:f8b0:4864:20::b30]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6D3DA201AC for ; Fri, 8 Jul 2022 08:29:20 -0700 (PDT) Received: by mail-yb1-xb30.google.com with SMTP id i14so18645764yba.1 for ; Fri, 08 Jul 2022 08:29:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=YMEGxIrE4woAf5cnzkZ+3hQp7ZS3VGf+M1Bxpp05xRA=; b=ecaQUHS0lHe+xS7QeRj1P7pinsI/NrxvyEsdPWpDaG8YB0F0Gz5iEiFh9Ln9piexBw zQwkOUXEIc0AVVNGhpCiTO4NKOH6r0qPLtCr0wX5GBIgI6AjppwEqmpJ6EA45WJ7GniL H0cMz3WrgzTFVKC1UyQdBTLpO3kJ17s0sw0uPGMmQSrdlmq80M+yFSD1NuE9jEaBnymI Ff+/kJsyLWJ3zVjyZgsEau9JwoRRBMKgEwL7wpIWCP2wI9w0zmjWCToJ4h+VEKDTKIDl quGIcI3DxzcnjRkhNk83S6Gb79aPn+5X6FJWpwiFoxfQM4WzORdTLgDcc02w7Ir8g2Ww Te2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=YMEGxIrE4woAf5cnzkZ+3hQp7ZS3VGf+M1Bxpp05xRA=; b=pprOfhhHHMIeOz7PhKCyMUXKYEVoZU8UD2461D/vLWmsf6if5BjOt+iLRbb9CWQZcp tefKit0FJ+PGGxeoLV1Ef6jQkL2mP1FomuSfDmkwJR5IPCO2wNdKn1URo7xKwJW12HTF 8WoOA0XzxUHM9K8Ms9P0hupITfl7L6qwHp8ZcJnnQ5BSxunNAJOSqYAYGHF+C0h9hKmw f37AydzHSfggUAHGSkrWsmqNVa0YRz8cKf6iwvLi6pVHTn4wzIyHrNhF2yZsdUeURow3 A3QJYOM+a8DVuUJHTg/UCQcnouBtZyfSqpYGxoDr/yik5Db8hycOjMQBOMFkp02FZQD9 TceQ== X-Gm-Message-State: AJIora+qcmn7/RZLuEs/auG81tE4ioHS+6SC1zG1ZPaWsgsK1E8LpKqP mFFdh25+cePnmzG5l0eDE94ruEVHv8+/IcyiIbk= X-Received: by 2002:a25:cbcf:0:b0:66e:8893:a02c with SMTP id b198-20020a25cbcf000000b0066e8893a02cmr4250392ybg.460.1657294159638; Fri, 08 Jul 2022 08:29:19 -0700 (PDT) MIME-Version: 1.0 References: <20220707091301.1282291-1-cezary.rojewski@intel.com> <6c8e4104-2239-a188-649d-585f059cabdd@intel.com> In-Reply-To: From: Andy Shevchenko Date: Fri, 8 Jul 2022 17:28:43 +0200 Message-ID: Subject: Re: [PATCH 1/2] lib/string_helpers: Introduce strsplit_u32() To: =?UTF-8?Q?P=C3=A9ter_Ujfalusi?= Cc: Cezary Rojewski , Andy Shevchenko , Mark Brown , ALSA Development Mailing List , Takashi Iwai , Jaroslav Kysela , amadeuszx.slawinski@linux.intel.com, Pierre-Louis Bossart , Hans de Goede , Ranjani Sridharan , Linux Kernel Mailing List , Liam Girdwood , Kai Vehmanen , Bard Liao Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 Fri, Jul 8, 2022 at 5:25 PM Andy Shevchenko wrote: > On Fri, Jul 8, 2022 at 2:34 PM P=C3=A9ter Ujfalusi > wrote: ... > (it may be casted to struct tokens { int n; u32 v[]; }) On second thought it is better not to do this (it will work on x86, but in general it may be surprising on BE-64). --=20 With Best Regards, Andy Shevchenko