Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp1260477rdb; Sat, 7 Oct 2023 22:18:35 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHwU5at2SeFB5hYpnFG739POUhPXqH/83KfSVqC6K4Q6chmwruWUs53wXDpY0JgTxW4Y+HJ X-Received: by 2002:a17:90a:dd43:b0:273:83ac:5eb9 with SMTP id u3-20020a17090add4300b0027383ac5eb9mr12909566pjv.4.1696742315203; Sat, 07 Oct 2023 22:18:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696742315; cv=none; d=google.com; s=arc-20160816; b=mckh0KJEJ2g0nt1w0i6KpKEw1guHh7/ru0/xaGWQoVu5IBjzUK5KB5TLolyrsJ7l1T rd+rWi6bDbe/ChH+xBvo7aqSSzgi5PZDaV71AIGvVn68VyRbDBC/YDnJL1Du9xKhIJdV 2GWcx9h7Ik67tbGXHbAa3M9uq5/qLKG9Zf9kHmxfeEA1FLtzIUThm27EyS46JHrgxS3K bqLHtr/9+77rEgyKv6ptYNNCuPdBecll1Bw+bkH9Vc8K75EJvf7UuamRBG4ekOV5JKgg S5nNfsWJCIUfrfXpAzY6dll+llLwlV5aDhw2v8XKiB+07LTJ+ABOXd34MTR0JYBe64Ix lqYg== 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=SrCyQSXUvQxHoqqBcAB5TDSUQF93M02O0r45w2XQftc=; fh=pVzlUPD685336MWgGnPdvgCrf7+PjcwboKa9JqfLsg8=; b=gyYFzAEmtkiQFdFocnReqsA2UfoCyImoRB/Ltr2btCUDFl37Eia5eZBpLa7VcLxNAo I25cYggGP1XrJ77gpqehYUSCddWHvHTJD+2Bi5THaZlE33/wYSSS12kNGudgKrT7tBK9 rhIzWwC80om5mdFqAtY+4IZMOjcDFJvCPLJx5bZnOnG6VcSYAd06sszZiemNwR3LSaLw yS6U9+3vSWt8ADPmPk08C8b5YU8RxEF7l1Vyg7mPeAoqOeRExmORVuiGUNFsnb+qZnSC rLj2oqOUA2DML3nxR0fp2HDJyDXVt6HZl8CdRi++oNH8dj/BezauCq51fXMhKSz+g9yP 74Mw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=w1H0jrg9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id u4-20020a17090a6a8400b00277624ffa82si9294453pjj.86.2023.10.07.22.18.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 07 Oct 2023 22:18:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=w1H0jrg9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id E9FBE8040ED1; Sat, 7 Oct 2023 22:18:33 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344375AbjJHFEn (ORCPT + 99 others); Sun, 8 Oct 2023 01:04:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60192 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344352AbjJHFEm (ORCPT ); Sun, 8 Oct 2023 01:04:42 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7EAC78F for ; Sat, 7 Oct 2023 22:04:41 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 90216C433C7; Sun, 8 Oct 2023 05:04:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1696741481; bh=EWfEySMIHcEZpgZcolTZHLTL0n7Z1fa2Lb39mIDJ4D8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=w1H0jrg9m3TkWpRkDm1nTyZaxroCotWXSuwEx5MvI3c1hOJoa6UCIRN1HQBBDoy4a +XnTGmEBX+tUqTBNT58HakOasGrin9fDR76BhvHLS1tb6oJrW3ugUz9iRZiM1qiQSD rpqVbuqtlSHCWT6L6T0iAaKaaAZ0huaNv8mntaFw= Date: Sun, 8 Oct 2023 07:04:39 +0200 From: Greg Kroah-Hartman To: Janusz Krzysztofik Cc: Peter Ujfalusi , Liam Girdwood , Mark Brown , "Jiri Slaby (SUSE)" , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ASoC: ti: ams-delta: Fix cx81801_receive() argument types Message-ID: <2023100811-shakable-derby-0b91@gregkh> References: <20231007213820.376360-1-jmkrzyszt@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231007213820.376360-1-jmkrzyszt@gmail.com> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Sat, 07 Oct 2023 22:18:34 -0700 (PDT) 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. > > .../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 *, unsigned int)'} from incompatible pointer type 'void (*)(struct tty_struct *, const u8 *, const char *, int)' {aka 'void (*)(struct tty_struct *, const unsigned char *, const char *, int)'} [-Werror=incompatible-pointer-types] > 403 | .receive_buf = cx81801_receive, > > Fix it. > > 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(-) Odd no built-bots caught this, maybe no one normally builds this file? Anyway, I'll pick this up in my tty tree now, thanks! greg k-h