Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp4431619imw; Tue, 12 Jul 2022 07:51:33 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uwM7pblS5hso2ey5V3h781b4qED1j/Fwl7x5Sj1sOKXHaSC1oarBCvmgUlTpN5VTvx0QmL X-Received: by 2002:a17:903:124c:b0:16b:a568:996d with SMTP id u12-20020a170903124c00b0016ba568996dmr24489601plh.169.1657637493523; Tue, 12 Jul 2022 07:51:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657637493; cv=none; d=google.com; s=arc-20160816; b=GfTovIRX5/zosHMPkWnuP+19IY/dU3Z5oZ9sJBF4DIOsmw5gheF14wFvNiG43IIb/+ r+2CVhfY+FdibsJGOYS0zzDdOC+G0K3dp05Zmav6UHZS1UPsj/6FmiaCcVSWjqyTu+J6 MP9E27FhEtNkNUsBxk5IJSsUCzoufu1tf2KRpU6fBXmSqjqeL17O1c2xfHq2mjEgsCud Z//Za1bdRPG/KL7hH4k9JnkGa5e1erDPb1fQhHaiJ/VpDVj6Th6w1Qhwcugq4H79Gn0q 8xfkgiXnBqcbRhAP942+OuSHQDzZ3S0dNyL7wFWlpi6ZBeaRDEaH0uwXhxgmhfzOwIMB l3VA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=+zN1GNGCIL6+YVEG7IbxuOhZlEY06u/BIUm+9zyo8wI=; b=RmNiu5aeas0xcy3rtyjkqDH1VVrEeWjiFfkJ0Xi0X2eqGSIOurfvPtjUF0LtzKp9jD ZhREdIafu6TvGiHqRyYl52usAna8ANK8weXNVCvoO0XoQY5TPPH4WYpmHHm1S69IKTuK YtjiCrI++eVd2L7UKAC+LzfdV8TeUKfob7hG1uTW14GfFknlm2XRt2vpQORxesbsNg3z IzMI6f62Ho1Vr+FjGXEufcXQOuhDIwI3f3tc0yY0kSmgIjnHHjErdCUj0HEgUrXemdQJ VE9J9gQTas0A6dEYnVDjNCJFVPi1VSI0oM2Fu6Z50xkV23rDhESZSF45wd0VoMbT7/uE 3yfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=a6BSQCwx; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l73-20020a63914c000000b00415dde9053dsi13418837pge.735.2022.07.12.07.51.19; Tue, 12 Jul 2022 07:51:33 -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=@kernel.org header.s=k20201202 header.b=a6BSQCwx; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229918AbiGLOCb (ORCPT + 99 others); Tue, 12 Jul 2022 10:02:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50492 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229534AbiGLOC2 (ORCPT ); Tue, 12 Jul 2022 10:02:28 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5CE3C2631 for ; Tue, 12 Jul 2022 07:02:28 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id ED67C616CF for ; Tue, 12 Jul 2022 14:02:27 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 29559C341C8; Tue, 12 Jul 2022 14:02:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1657634547; bh=+zN1GNGCIL6+YVEG7IbxuOhZlEY06u/BIUm+9zyo8wI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=a6BSQCwxx8ttq402GPYNi4QvOmYUM+e67eYC0xleIyy6mb0YpM3YZL3DUlSS9VVzN ggmi9qUpPLVy90FlUcBacN7u+Rg35MhmNgoKegrQkpPym8aQJq1LHUzhqNn18e+SGL n4mbTvpctfRbzJbqcpYH9/6hq1WL2Ahw+L0llxNRrwc3WXBkiYkxAUHZ+vbeTTWKp6 99e8F1NpeXe65A8XT9Lzmv2a6ttfMz6vhdkyRHqqN7SDXjikl+UDqnRecik67fLHta h6HHglostPy8fy863cHS9y/sE9KUW5q/Wcy/aEcM+ZbDajXo+kIRprvr4Xr/0DBsG2 rp7HxCGIeZGiw== Date: Tue, 12 Jul 2022 15:02:20 +0100 From: Mark Brown To: Cezary Rojewski Cc: Andy Shevchenko , =?iso-8859-1?Q?P=E9ter?= Ujfalusi , Andy Shevchenko , 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 Subject: Re: [PATCH 1/2] lib/string_helpers: Introduce strsplit_u32() Message-ID: References: <6c8e4104-2239-a188-649d-585f059cabdd@intel.com> <2c6a4a61-e6c8-0487-8d29-dc3fbb90bbe2@intel.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="VOtkm5XuX2adiHc/" Content-Disposition: inline In-Reply-To: <2c6a4a61-e6c8-0487-8d29-dc3fbb90bbe2@intel.com> X-Cookie: I like your SNOOPY POSTER!! X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 --VOtkm5XuX2adiHc/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Jul 12, 2022 at 03:51:04PM +0200, Cezary Rojewski wrote: > Please correct me if I'm wrong, but there is no guarantee that int is always > 32bits long. What is guaranteed though, is that int holds at least -/+ > 32,767. Also, values larger than INT_MAX are allowed in the IPC payload. Right, int is just the natural size for an integer on the platform. --VOtkm5XuX2adiHc/ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmLNfuwACgkQJNaLcl1U h9C/QQf9FtMNLt7fY7kTHfnJjxoc2xRbWmtmteMI/X1xnpa0sAS30hZrAP5o49ri tl19bcPCbpY15Ih/BJlE7TOW358K5CxVlICUZdZ088SVbKN+tTAig9DVnCk4cjoI 53fscUp8y/saZ3R0HnDZY+KQhoh9j60bMWs3ff3ciAHx6HXVOdJ6qgKbWgsnxo5A viX6XmKmA0tPnn69FBCHz7ooJE9R8I+Wh1oWjL02rJMrWwARzqpyt8yubvHL1tSo 4EU+DCDtCYimR9nzs1/m4jdK3J2T7FpX2NQgO1NNDmRbcAqkiu4Gd0Ek+ydaIcym uIOTy5RjhQb41oJUTlQvfqfdQ0tsMA== =JOe6 -----END PGP SIGNATURE----- --VOtkm5XuX2adiHc/--