From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0EDC5C41513 for ; Thu, 17 Aug 2023 15:03:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1352639AbjHQPC6 (ORCPT ); Thu, 17 Aug 2023 11:02:58 -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 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