Received: by 2002:a05:7412:bb8d:b0:d7:7d3a:4fe2 with SMTP id js13csp2652048rdb; Fri, 18 Aug 2023 06:54:59 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFV7uZ4zUeVk298uQeRrQUH6YgiofC+pD1lK0SXBLc9VcrutkU3+M6W3UdkX74xwqyfZSRV X-Received: by 2002:a05:6a20:1012:b0:137:514a:9835 with SMTP id gs18-20020a056a20101200b00137514a9835mr2822082pzc.9.1692366899149; Fri, 18 Aug 2023 06:54:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692366899; cv=none; d=google.com; s=arc-20160816; b=jsjyz9MCFtdRheRUrW6jNdvCrVFK3cybvI4fM7Ef+yxUCaViGrpfWOuuzMZlY8GRAF pT2m0OnUH18NOVM3uD9SpcsBui/6ZMJZMHt27BrsquE1NjZaSoOQ9JbFLqBM+pfnlqIl n0q9Cs4Ifz/LdVtt6SozhiCXnUB2JlDtgJnfPKSyfuLK46bJlAjNzpW/YPbloOa/DnN1 wmhYtsxJQariZiybXLO4cNLfSFCc17EXy6X/cWOHfw3jSeUiQZ43Fo64Eg5HwYyfSIA1 ZlLoWo9jYtqmdPyczWTUcwZVnxX4/K/BTrgVa2T+Bkqe5c6654UGFmh51Ui9b32cqvPx svVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=YripruqoZfGK7af8AQNEKBv/dy/Yh928g7ZzeBD+z8U=; fh=m2s/JRQ/OE/wkrNkDa0hSyrMO4Mx1vFcX3kIdsfWxU4=; b=F5TWGgs7vH/lL09mlT5o9/eFeb8Rpg1gRjBz7yGhm0S9q4oGOMaeeKNG8dqrc20G6f ZjwQVFeZdDSTtwU1Y1LEl3YPTnSx+PlyfRRGIfeTFR0LMC6ybjlFVNHMdEf3kpA7a8Pd v3xo5jXdV4ky3Lvr3AOLtVqJ+i9YB8BT1nFUT2nFvuXcinrCLorCKlvgb5Wit9o9OZOw 9WFywagC5Iw8NoRQSbFYNvNpCjkOB3cDpxwgsxlklAQiyoC4OdRP5/kA0AZ/+SG1g0iH fICXuSZKwks7nObIHqGKC5oTDOiHAE8Au7VUgc/dG0ohOlZlTc5HjGubPmsizLfPHnD+ r/7g== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=xs4all.nl Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bs125-20020a632883000000b005636b735110si1316459pgb.293.2023.08.18.06.54.46; Fri, 18 Aug 2023 06:54:59 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=xs4all.nl Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1352620AbjHQPC5 (ORCPT + 99 others); Thu, 17 Aug 2023 11:02:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55840 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1352729AbjHQPCx (ORCPT ); Thu, 17 Aug 2023 11:02:53 -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 1AFE33A87; Thu, 17 Aug 2023 08:02:36 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 9F996673DE; Thu, 17 Aug 2023 15:02:35 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C0CCBC433C7; Thu, 17 Aug 2023 15:02:33 +0000 (UTC) Message-ID: Date: Thu, 17 Aug 2023 17:02:31 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: [PATCH] media: vb2: frame_vector.c: replace WARN_ONCE with a comment Content-Language: en-US, nl To: Linus Torvalds Cc: Linux Media Mailing List , Marek Szyprowski , Tomasz Figa , Linux Kernel , Jan Kara , David Hildenbrand References: From: Hans Verkuil In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-8.0 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,NICE_REPLY_A,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 On 17/08/2023 16:56, Linus Torvalds wrote: > On Thu, 17 Aug 2023 at 12:41, Hans Verkuil wrote: >> >> There are no reports of WARN_ONCE being issued for actual VM_IO cases, so >> just drop it and instead add a note to the comment before the function. > > Ack. That was meant to catch any (unlikely) strange users, but yeah, > it can obviously be triggered by "intentional" strange users, ie > syzbot and friends, so since there seems to be no sign of actual > real-world use, just removing the WARN_ONCE() is the right thing to > do. > > I'm assuming I'll get this eventually through the regular media pulls? > > Linus Yes, that's the plan. Regards, Hans