Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp1351360rdb; Sun, 8 Oct 2023 04:03:06 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHBCj5vsAQ7wgloVao2LrtMO3NjOiuWvXnGJEYwPhkRxkzqGB8mSGuVfiIiZKGFdGfnFU57 X-Received: by 2002:a05:6a21:819c:b0:169:535f:2687 with SMTP id pd28-20020a056a21819c00b00169535f2687mr10061939pzb.49.1696762985955; Sun, 08 Oct 2023 04:03:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696762985; cv=none; d=google.com; s=arc-20160816; b=NzxUcUcexJ/Hus8V5B3NJGKh3uVVc+NKf3hV9skHMwbuPgF0PRCX/6/d2Y5ozpER26 vCRRLzG4BOU3DG5xlzFCD08l39mTsqvEGX4hJsih7BI9MOa2x9T4vfZp3jI7aq8TpXtO huFjxGlW5X19ZlodSw12xL7EI1qBaFzoycsIK8mNJN/yeJsT4ZQGzgLUWogni0xfkURe dx/Wp/X+Xnygs5bJkBTL9/eGc8Z+GAeKrI1ZwobBIJxYMcvo5AYtmQlo5JA4RADmSGdE ZW7bvfS0ZfjG8ODbhm4xF0lOKE1TxnN5cbUvWFaL8Vf1n7TnqbVgz3QyG9c1S/kk7+Zc oaBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=I2BwMPIdqGU2NqgXy5cot4/7RwrAa6qLkUv4kvr0lFI=; fh=GhvmgAmcEyggxQIGvDzwvv3upWLaF5+sVnHUQGaBQGM=; b=s9c9f7AhECD5uZshRx7zoWZTIJPlRB3sxbpULdoxitGre4GdepdKwaA8zaN5zYO027 +PIC8JEs062HjQr2oaL8qoKU7QaugaqIrmA+soSba/zme2evyQPROQZmDr7bhuG5UpGk im6R1kXCZx2VAAnRKtdrDkQVOLagPtjcmPCphL/zp/mlWVFGaROBmXxGIlJ5EWUnfnv8 6qPWqPhxiNFNoQDnihvA85fYKajxaAqVBGs5o+VQ3AlRuQsK/+ua2tQjPBnNtkDRLvYZ X9NiF2XFTy42Yihy6qSChfhO6BqsTlm5a9pbSyA6cipTOnswsH5OCxGmRX3oji5uTZOa hMJA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=FG0fFGsy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 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 agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id u134-20020a63798c000000b0055c1760dd8esi7477771pgc.380.2023.10.08.04.02.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 08 Oct 2023 04:03:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=FG0fFGsy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id D1005804A641; Sun, 8 Oct 2023 04:02:55 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344658AbjJHLCo (ORCPT + 99 others); Sun, 8 Oct 2023 07:02:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46976 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344569AbjJHLCm (ORCPT ); Sun, 8 Oct 2023 07:02:42 -0400 Received: from mail-ed1-x52b.google.com (mail-ed1-x52b.google.com [IPv6:2a00:1450:4864:20::52b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 673F0AC for ; Sun, 8 Oct 2023 04:02:41 -0700 (PDT) Received: by mail-ed1-x52b.google.com with SMTP id 4fb4d7f45d1cf-53627feca49so5997452a12.1 for ; Sun, 08 Oct 2023 04:02:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696762960; x=1697367760; darn=vger.kernel.org; h=mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=I2BwMPIdqGU2NqgXy5cot4/7RwrAa6qLkUv4kvr0lFI=; b=FG0fFGsy5bXYh3Hix9OvNoIl77cUL7zPwG0OhPrPZmsqcYyOFBs1hF1r7xAMYORIcp iS6UTRWTwFsaLTAMpiwGQzYoDr2NxeGxZ6kqETS0T3l+TZj6u1CqNMkiBVSFA2t1cnIE Slod4Jw2s4QrZxOQJa0Wp8i9q0gpaKRGBipnwMntG2c5WqnZMemXfo62TwHsgtTGlFV2 lq3EnSQ6/M7B1TMjHhV99f2njhv8tkgoWKoccVexzSGi5I1S7VXJiwI8al8lf80HLAd/ D1uZZdEC/TMi2VivllX0XENBs1zTrWWa+AZoNPb+lmq/4OJx6co/U5e937kS98zzhTe5 IwDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696762960; x=1697367760; h=mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=I2BwMPIdqGU2NqgXy5cot4/7RwrAa6qLkUv4kvr0lFI=; b=ePyytt6SwIziWI6mamj4YYaFJRdWDHYRkKBSs0oaoJHxMbbgtxYcHRBf1J9kNf+56G x2fSwzEiAJiTQxXBODC617W1IQjUZm3M5m+eX2u6EHd/CiK58aBfq70ZKrhBD1kAhNu/ wpzeCTRqVDFnXItHoQK4QwvGkNdeMkdJiglS/2tYTTAgz54k1vTvv/I/a9sQti8GvKYY vNxQyb4t+jVkMiTYn0Qlp6/vYPRhGYik+Vcmf8qLMvxEMmJGr9ZeFzvMlQS/5lDAnG2b QDHY0KWzxmOXsxmvQr/ZVgyxLny4zNbqbpjelrR0NJNBV2zVoveks7njHfH0SIMOearL CGhw== X-Gm-Message-State: AOJu0Yw8wXWZBjfj30zb0k17maDK2HG8JJqxRD9exaM+u40gtHvvG3AD OQQ1bpstQbVdJWXQ6P43kF+1EjcXL9C4lA== X-Received: by 2002:aa7:c393:0:b0:533:c55f:582a with SMTP id k19-20020aa7c393000000b00533c55f582amr11125186edq.27.1696762959595; Sun, 08 Oct 2023 04:02:39 -0700 (PDT) Received: from dell.localnet (77-255-201-154.dynamic.inetia.pl. [77.255.201.154]) by smtp.gmail.com with ESMTPSA id r9-20020aa7d589000000b0052576969ef8sm4832770edq.14.2023.10.08.04.02.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 08 Oct 2023 04:02:38 -0700 (PDT) From: Janusz Krzysztofik To: Greg Kroah-Hartman Cc: Peter Ujfalusi , Liam Girdwood , Mark Brown , "Jiri Slaby (SUSE)" , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Janusz Krzysztofik Subject: Re: [PATCH] ASoC: ti: ams-delta: Fix cx81801_receive() argument types Date: Sun, 08 Oct 2023 13:02:36 +0200 Message-ID: <4229381.1IzOArtZ34@dell> In-Reply-To: <8377873.NyiUUSuA9g@dell> References: <20231007213820.376360-1-jmkrzyszt@gmail.com> <2023100811-shakable-derby-0b91@gregkh> <8377873.NyiUUSuA9g@dell> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2707487.BddDVKsqQX"; micalg="pgp-sha256"; protocol="application/pgp-signature" X-Spam-Status: No, score=4.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,HK_RANDOM_FROM,MAILING_LIST_MULTI, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Sun, 08 Oct 2023 04:02:56 -0700 (PDT) X-Spam-Level: *** --nextPart2707487.BddDVKsqQX Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8"; protected-headers="v1" From: Janusz Krzysztofik To: Greg Kroah-Hartman Date: Sun, 08 Oct 2023 13:02:36 +0200 Message-ID: <4229381.1IzOArtZ34@dell> In-Reply-To: <8377873.NyiUUSuA9g@dell> MIME-Version: 1.0 Dnia niedziela, 8 pa=C5=BAdziernika 2023 11:42:50 CEST Janusz Krzysztofik p= isze: > Dnia niedziela, 8 pa=C5=BAdziernika 2023 07:04:39 CEST Greg Kroah-Hartman= pisze: > > On Sat, Oct 07, 2023 at 11:38:18PM +0200, Janusz Krzysztofik wrote: > > > Since types of arguments accepted by tty_ldis_ops::receive_buf() have > > > changed, the driver no longer builds. > > >=20 > > > .../linux/sound/soc/ti/ams-delta.c:403:24: error: initialization of '= void (*)(struct tty_struct *, const u8 *, const u8 *, size_t)' {aka 'void (= *)(struct tty_struct *, const unsigned char *, const unsigned char *, unsig= ned int)'} from incompatible pointer type 'void (*)(struct tty_struct *, co= nst u8 *, const char *, int)' {aka 'void (*)(struct tty_struct *, const uns= igned char *, const char *, int)'} [-Werror=3Dincompatible-pointer-types] > > > 403 | .receive_buf =3D cx81801_receive, > > >=20 > > > Fix it. > > >=20 > > > Fixes: e8161447bb0c ("tty: make tty_ldisc_ops::*buf*() hooks operate = on size_t") > > > Fixes: 892bc209f250 ("tty: use u8 for flags") > > > Signed-off-by: Janusz Krzysztofik > > > --- > > > sound/soc/ti/ams-delta.c | 4 ++-- > > > 1 file changed, 2 insertions(+), 2 deletions(-) > >=20 > > Odd no built-bots caught this, maybe no one normally builds this file? >=20 > The driver depends on SND, SND_SOC and TTY, but can't be selected=20 > individually, only via its user. =20 Sorry, that was an ASoC board driver, not a CODEC driver, that required the= =20 fix. > Then, it usually builds when=20 > CONFIG_SND_SOC_OMAP_AMS_DELTA=3Dy, and that's probably uncommon due to=20 > specific dependencies. =20 In addition to SOUND, SND, SND_SOC and TTY, this ASoC board driver depends= =20 on MACH_AMS_DELTA, then on ARM, MMU, ARCH_MULTI_V4T, !ARCH_MULTI_V6,=20 !ARCH_MULTI_V7, CPU_LITTLE_ENDIAN, ATAGS, ARCH_OMAP1 and ARCH_OMAP15XX. =20 Let me check if it builds without those machine dependencies, then we can=20 cover it by COMPILE_TEST. Thanks, Janusz > However, cx20442 can also be selected and built=20 > with CONFIG_COMPILE_TEST=3Dy and CONFIG_SND_SOC_ALL_CODECS=3Dy. Since si= milar=20 > approach seems to apply to quite a number of ASoC CODECs, maybe build-bot= s=20 > should pay special attention to select SND_SOC_ALL_CODECS more frequently= ,=20 > like they probably do with COMPILE_TEST. >=20 > Thanks, > Janusz >=20 > > Anyway, I'll pick this up in my tty tree now, thanks! > >=20 > > greg k-h > >=20 >=20 >=20 --nextPart2707487.BddDVKsqQX Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEEnyr6IsGnTYAeAkHJ2WqSnltsjBoFAmUijEwACgkQ2WqSnlts jBqpygf/TZYnhnJ79SYUbtDpvKJvQn4573Q7v/l2znOGa1OJTKp7WpamhXlqXOct rTHSJ4md10EXlw3e7OhmSWwP4fhrMIASzHYYPmlX7LYXZedRkSbaOFC+kOSDhKYW ZHhJrEfTOpfd968L/0cLd2Sg913OJqYQzThlUXk40v3VQNnkSZMH9Ma/DqasAOWE j8MmaxtqOEwuQwFNoOnwAHGcHz5fMO2xgijTrhpMrZLx8cWLoY/1DuFk1jUBy9B7 /27avelGo4+IhBSC6ysZa6QueVOrfUWGcFnsXwUG6SCE4AMh11z3mecoSlwO8jcB hEoZ+9f8JJ3bRxtCUDvAm0mTkc0i0g== =cxua -----END PGP SIGNATURE----- --nextPart2707487.BddDVKsqQX--