Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp5849681rwr; Mon, 1 May 2023 11:45:31 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4eO+4xR+rQBP3EIN1dJ42VKVnApu+x8Xk+WRbENh8PCKsxYfW5hQnZl0dLeSqio+K3AQYp X-Received: by 2002:a05:6a00:9a2:b0:641:f54:eaed with SMTP id u34-20020a056a0009a200b006410f54eaedmr23756041pfg.21.1682966731438; Mon, 01 May 2023 11:45:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682966731; cv=none; d=google.com; s=arc-20160816; b=YnsuEzHQ+iriJh3qUIQHb0yn8gc2jNA9TNbatisYO5TfbJ12rloG4n1qw1xnizYZEI 1UCqPCSISox3u/B2sPOmqiTieuymrGGv84s4zZUfA4/7wvcvKFO10GEZUl99b9KgDP1u z+6ct32h7oyvzO3+ZZ9iXNqoqQNC7xNEk/L3bckxhffk3eLHJNlTGTBsUDnhjh2jc3fc yzhrdXFFh3lTL/7TLM6Klk/7sGcN0qcK2VHSJ/mkfAb4fCznCQDJX5wnW1JemqKLUSRa yAsM4qbbiz6NGXkqvoAiSRjbFVoJ/UOts0ER1zuO4WjTK7lFbczdOKG4KTq8eVumvavB kIww== 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; bh=ZKQTJrZZnMBWy3IXKaTHxd2QJ9kxPv+sPupLhSTI6wc=; b=fU8xarQyWehfcEXK4meyc+xW5GX42KJHv07S4a5IvSuhX9R2ZxQJW+JFhM+3Z9Ut/T b886t+qNhGLmuQ1LsDrIlruYk99IQPPJ/aQScuXGX1+9Q3xV7zm2vDzXIak4HOgTrgIF vEv8cMMx0oqQPasLodliiO2iYrNCZBlIxSkQITOJPuicaCLFMVmAe17VwIOfNnpC7edE /cNn8MDwzLlf8aP3AWJ7barjIPh1jT2vOD/SxVzoY/2e2l4f+9s78UV7IhS1RNg/UE81 AiDa3FDYq+ThXWQJYjifRX8PZJbm1qGTjsHIq6TCJWq37tr+EZUSdPeBRMSAQ0+ibvGe zcUA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x63-20020a638642000000b0051b7f451cc6si19274821pgd.539.2023.05.01.11.45.14; Mon, 01 May 2023 11:45:31 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230114AbjEASm1 convert rfc822-to-8bit (ORCPT + 99 others); Mon, 1 May 2023 14:42:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57582 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229927AbjEASmZ (ORCPT ); Mon, 1 May 2023 14:42:25 -0400 Received: from mail-yb1-f172.google.com (mail-yb1-f172.google.com [209.85.219.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 472F9170B for ; Mon, 1 May 2023 11:42:21 -0700 (PDT) Received: by mail-yb1-f172.google.com with SMTP id 3f1490d57ef6-b99f374179bso4480742276.3 for ; Mon, 01 May 2023 11:42:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682966540; x=1685558540; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=zraZFbeyk6zdRmZ1quvA8xnbddG+EZLJ1kU8tZ6Byqw=; b=h7oFHoGCJ3fZSwlUsxmiLbBKTufPECIsarzLx99MbpHJVASPoEGktV4z4lTKB58WLs GcUqubhlfR1Sf0Z4Hv/mtW8h32uPprJARv7fQ8tdTh44K8U7NPGD+jvxke10iQB4Q5Ak QEOU05jQj0bvbO2A7p9CQSzEFvsD4glQbbWt2QaC0KIquLCN1q3/WqpvohsOThcvt+qU geFz3JagwpH1hf/sBnKOGNKYajs62qMh8Aab6XsPxK+AoAYSL3dBTanjGfX3x3w4UVuO 4yhkly5t+mS0/PyIsnhMx8uyFWidjZqaHvlu/QIqDQkCbnio0bPJ47QRD+Ed6PORz6DY Kq1A== X-Gm-Message-State: AC+VfDzU0hQFElG82q52SnTKpW8pTOQZeS7/4T8WnDFNz2XlNZ6YwVYQ nsAekq7dZ5ckWRHQqRDyKL5YIkpDJnl3Wg== X-Received: by 2002:a0d:d885:0:b0:55a:6430:e8fb with SMTP id a127-20020a0dd885000000b0055a6430e8fbmr3293725ywe.8.1682966539837; Mon, 01 May 2023 11:42:19 -0700 (PDT) Received: from mail-yb1-f177.google.com (mail-yb1-f177.google.com. [209.85.219.177]) by smtp.gmail.com with ESMTPSA id u189-20020a0dd2c6000000b0054f50f71834sm2069210ywd.124.2023.05.01.11.42.18 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 01 May 2023 11:42:18 -0700 (PDT) Received: by mail-yb1-f177.google.com with SMTP id 3f1490d57ef6-b983027d0faso4521260276.0 for ; Mon, 01 May 2023 11:42:18 -0700 (PDT) X-Received: by 2002:a0d:f881:0:b0:556:c98d:121e with SMTP id i123-20020a0df881000000b00556c98d121emr15162643ywf.7.1682966538370; Mon, 01 May 2023 11:42:18 -0700 (PDT) MIME-Version: 1.0 References: <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> <2023042859-kosher-specimen-9a0f@gregkh> <58974d54-9e02-4800-814f-9206c3cfcc95@roeck-us.net> In-Reply-To: <58974d54-9e02-4800-814f-9206c3cfcc95@roeck-us.net> From: Geert Uytterhoeven Date: Mon, 1 May 2023 20:42:06 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] tty: tty_io: remove hung_up_tty_fops To: Guenter Roeck Cc: Greg Kroah-Hartman , Tetsuo Handa , Nathan Chancellor , Al Viro , Jiri Slaby , Dmitry Vyukov , syzbot , linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no 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 5:56 PM Guenter Roeck wrote: > On Fri, Apr 28, 2023 at 07:31:35PM +0200, Greg Kroah-Hartman wrote: > > 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 > > That happens all the time, and quite often the "late" additions are applied > to mainline immediately afterwards and end up causing problems there. > I can only hope that this won't happen with this one. And it might be picked up by stable ;-( > > picked it up? > > > > Please wait until after -rc1 is out for new stuff, you know this... > > This patch is supposed to fix a data race, so maybe it wasn't considered > "new". Just guessing, of course. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds