Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp2470002rwr; Fri, 28 Apr 2023 10:43:23 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5Bu8kZxxEK6FY66lZ/tdHbJINUty4iPcTo63TqB3XqxtepjvlcVDEmMPmB5nV1YcmMWKRM X-Received: by 2002:aa7:88d0:0:b0:63d:4407:b6c with SMTP id k16-20020aa788d0000000b0063d44070b6cmr8298748pff.7.1682703803085; Fri, 28 Apr 2023 10:43:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682703803; cv=none; d=google.com; s=arc-20160816; b=mq5HuvtoTUY9vxydrTvz/zetJ0+AOBvPYF2cA2NzV9Cr6xZMuOuwd3wn86FOmTZIgn /UF0MFccruxE4XqeWkGKuVD2mPKbLHu/Z21JHtFnpd3vbOd8ko7yFPGeqtr3/1+Wucti cXtzE3DoK4DuA4DekH3HnRslTXrVKfLRPPUWiw/sPMH48vosHA4EF9/YzgTNVlFmQzEJ i6DzQYupB9fEagt3jiOuVOx4BYSy5QBkmZSkN0EgqFcrNxUC5CTw+mx5AJl26y/juuGm 4rmggmv6LKQi3AZqjOR5WjKVeYjs0RVo2gJ+4WKqldYxIAVFeIachsf6n+gzGReML4/e Kt4w== 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=0dmIwsOYApd506eV/5Ck1DnQZEOwU/uhGgE9h7h2CC8=; b=Ix0TVLt/THNH4ntw0KTm75gMnwyJATLA08z3TnGXw18mIA+OmTLrHC7o3Dqd7CjJZR ypfdOMJhGNkEwEbTs80r5Lx2JpKkAbvAYUIysCNr5MI4Wx2wBaF/z0d0u0TKymu7C8qX HTnUpZoKgac49bvTLTUgPfi9k4XqYfIM52v+6tB6kSUS1bcd24o1NMKo39VXXa03bp0a 1Mn6rDiBc91qz8vbKkFYwQ37V20TIZVXzjhMrQTmxSp/APSNcKyNKGJ1MCnAUAjWiCe7 RZw7fn1rTGCUn2960vVWLMis/2XKA4vRq0i3xjW1fGQNrmt5WbKsND8Hvb6y/K6PLhvH UHhQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="eScoA/5Z"; 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=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g5-20020a625205000000b0063d61f05a8fsi22476762pfb.198.2023.04.28.10.43.11; Fri, 28 Apr 2023 10:43:23 -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=@linuxfoundation.org header.s=korg header.b="eScoA/5Z"; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345044AbjD1Rbs (ORCPT + 99 others); Fri, 28 Apr 2023 13:31:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59640 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229780AbjD1Rbq (ORCPT ); Fri, 28 Apr 2023 13:31:46 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 369C11BE9 for ; Fri, 28 Apr 2023 10:31:39 -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 C5440644D8 for ; Fri, 28 Apr 2023 17:31:38 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9E305C433D2; Fri, 28 Apr 2023 17:31:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1682703098; bh=nTrHMfz3vPJx3oi2/uvqoUmHHzqYEqSJ71L1PpJVF5k=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=eScoA/5ZP8alfHZ8o78LZ1GE0HnI6I8hyXtZhqgUqqK2xX+T9igHAfCiyuT8/BsCB x8CIHSqmwK2QEotDTh91A/gUXqZlegowLRf7LO1CdQej469i2VkmDj0N2epwy2qX05 0OJdj4vjUsvMI++7z9BSoE8bTJwA4kvZT+obuDF8= Date: Fri, 28 Apr 2023 19:31:35 +0200 From: Greg Kroah-Hartman To: Tetsuo Handa Cc: Nathan Chancellor , Al Viro , Jiri Slaby , Dmitry Vyukov , syzbot , linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com Subject: Re: [PATCH] tty: tty_io: remove hung_up_tty_fops Message-ID: <2023042859-kosher-specimen-9a0f@gregkh> References: <20230423233433.GF3390869@ZenIV> <20230424004431.GG3390869@ZenIV> <8e21256a-736e-4c2d-1ff4-723775bcac46@I-love.SAKURA.ne.jp> <2fca7932-5030-32c3-dd61-48dd78e58e11@I-love.SAKURA.ne.jp> <20230425160344.GS3390869@ZenIV> <1b405689-ea0a-6696-6709-d372ce72d68c@I-love.SAKURA.ne.jp> <5cebade5-0aa9-506c-c817-7bcf098eba89@I-love.SAKURA.ne.jp> <20230428162718.GA1099174@dev-arch.thelio-3990X> <6dca757e-74ac-773d-2a50-4e48b2f56880@I-love.SAKURA.ne.jp> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6dca757e-74ac-773d-2a50-4e48b2f56880@I-love.SAKURA.ne.jp> X-Spam-Status: No, score=-7.3 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,URIBL_BLOCKED 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 Sat, Apr 29, 2023 at 01:41:02AM +0900, Tetsuo Handa wrote: > On 2023/04/29 1:27, Nathan Chancellor wrote: > > I see this change has shown up in -next as commit 4c87e9e5479b ("tty: > > tty_io: remove hung_up_tty_fops"), where it causes the following warning > > for configurations without CONFIG_COMPAT (I used ARCH=arm defconfig): > > > > drivers/tty/tty_io.c:446:13: warning: 'hung_up_tty_compat_ioctl' defined but not used [-Wunused-function] > > 446 | static long hung_up_tty_compat_ioctl(struct file *file, > > | ^~~~~~~~~~~~~~~~~~~~~~~~ > > > > I am not sure if you just added that patch for additional test coverage > > or for final acceptance but the following diff resolves this warning for > > me, perhaps it can be folded in for a v2? > > Thank you for reporting. Yes, moving the definition will solve the warning. > > I'm testing this patch using my volatile tree before getting merged to a > permanent tree. How are you adding new stuff to linux-next right now when the tree should be "closed"? And I haven't reviewed this yet, what tree has picked it up? Please wait until after -rc1 is out for new stuff, you know this... thanks, greg k-h