Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp306109iob; Fri, 13 May 2022 02:04:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwriD9kvpHy+gw5eEqUGDMUD1xxbj5BfRjWD7+Kun16x0HjtX3NmjKOAEDzDatx3k8Lfe+D X-Received: by 2002:a17:906:cf84:b0:6f3:a3d8:365f with SMTP id um4-20020a170906cf8400b006f3a3d8365fmr3447377ejb.242.1652432640928; Fri, 13 May 2022 02:04:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652432640; cv=none; d=google.com; s=arc-20160816; b=y/ZGRzYX4/grTM8pepaxDRqrINS9BONDjmxeJTAqnXsAPwjKP2VBuFFXkEUzSXsciJ LbxwNULgnyig0imIJp1f+GoOwbNEgGfBIlAz+z0k+mbcz7Fz0EMXs5meHrBDCS/TdR1x AZd2Mb39hh/G/MsprqBKSykvAaPZQRo9UyJ+ekHz4UA9qn4ZwWWXvunDVfcZqVolxfRj HcQxJOIiySfaxVe08vz6kkMsqht7l5Z1AeuNCZbidEu0SlNnVkpfBL3+S22WQ4Tf4o3V eWeaCIiGplG3VaLnk0lmvNBz/Xv52cayTT2pA2nKmHFldaBuiExvJ2lJJYmfnbIr3ijY wgyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:date:message-id:user-agent:cc:to:references :in-reply-to:from:subject:content-transfer-encoding:mime-version :dkim-signature; bh=OJWuXthXI9C/MONCR0NxTFQFSkg1CK7EJRHdCWstd9g=; b=hjIafywmjAssN/vADfiuexlfQvKL+aV81UYd2R2d1Ec3gI/pIl+NzEPTCRqpajn1lv e2SAI/Wm9X56hcIkt2Oov+YK0tpMKo7udbx+FI9nwVvsTB7Ryt6/uZOirCjnWOayaRvg B9ZdkMgkHcC5AnaWEClqDMZ22Il/WbpW8U5i+8hwXMvJeJ/eC2kDI91+hj7jJVkbDHnF WibXTgtbqJ6nsnwuk6D+20cCdGlWJfTKkzCMpcu231q+tr31plj4n2/KA+CnagYojdzt XlPv8RqDCoE8epsIZfFZ0Upf7XqbN99X0HZ0LcDJAUa4r33nv1CClbYUr3Ku7js2gJjP JMkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=aqKE+MHQ; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hs32-20020a1709073ea000b006f9eeb3c88esi1691946ejc.64.2022.05.13.02.03.34; Fri, 13 May 2022 02:04:00 -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=@kernel.org header.s=k20201202 header.b=aqKE+MHQ; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377244AbiEMGUk (ORCPT + 99 others); Fri, 13 May 2022 02:20:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44780 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1377208AbiEMGU2 (ORCPT ); Fri, 13 May 2022 02:20:28 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BFAAB284912; Thu, 12 May 2022 23:20:26 -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 ams.source.kernel.org (Postfix) with ESMTPS id 79056B82C40; Fri, 13 May 2022 06:20:25 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C95A3C34100; Fri, 13 May 2022 06:20:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1652422824; bh=aHkk3J36Z8kJ+ZUFvfd3KyBC3/yaAGpykvfzHN6wCKc=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=aqKE+MHQ+fSAyMhnhSC+cX4cD/jnkTNa0vAXgm7tBAEtkZW+G/DrvhyDVU0PQUBme EJz2oI5oFwO0z78KktKpH1sCnc2+CLbhM5LsiWtGGTlJe/hA8VgDMity1mReG4667D bbXq2OH5QHBf2dYyJP7odXgWoXeUFbml72wE6GK1YQGne4abJIqBgtqPAy1aWmfe4I zqdWtqmEE/PkxZ9vYupmQ6ayR1dRll/5y78BrhlKb0SiE7Fb7gBC9JYt/ggDPEPIeo wk5QfySK/2yhiE75xLnDsZ04x23GeAwqPIsKcx0MS82kLYry9DNBwMInaTtc/me/fl tponHj0EHzETA== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [v2] rtlwifi: Use pr_warn instead of WARN_ONCE From: Kalle Valo In-Reply-To: <20220511014453.1621366-1-dzm91@hust.edu.cn> References: <20220511014453.1621366-1-dzm91@hust.edu.cn> To: Dongliang Mu Cc: Ping-Ke Shih , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Dongliang Mu , syzkaller , linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org User-Agent: pwcli/0.1.0-git (https://github.com/kvalo/pwcli/) Python/3.7.3 Message-ID: <165242279758.13495.9636671855029489659.kvalo@kernel.org> Date: Fri, 13 May 2022 06:20:21 +0000 (UTC) X-Spam-Status: No, score=-7.7 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 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 Dongliang Mu wrote: > From: Dongliang Mu > > This memory allocation failure can be triggered by fault injection or > high pressure testing, resulting a WARN. > > Fix this by replacing WARN with pr_warn. > > Reported-by: syzkaller > Signed-off-by: Dongliang Mu Patch applied to wireless-next.git, thanks. ad732da434a2 rtlwifi: Use pr_warn instead of WARN_ONCE -- https://patchwork.kernel.org/project/linux-wireless/patch/20220511014453.1621366-1-dzm91@hust.edu.cn/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches