Received: by 2002:a89:2c3:0:b0:1ed:23cc:44d1 with SMTP id d3csp1091104lqs; Wed, 6 Mar 2024 06:12:02 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWoLyUQef4e8lydlsJ2JuAGeDBTqU7joEpK0gkTGhkv8C5HllcEUPQAeRPbCAYMaHtFq72/UbxQlHFaoXwQu3yVN3KxRK4wfM31C3G43A== X-Google-Smtp-Source: AGHT+IEXCt6CGPCccxoVIWKSAICgyoDwCyjlh6sP+LVXHE+MU5ONOh1vrv/xW8nlHF5GykwRF/d+ X-Received: by 2002:a05:620a:4eb:b0:788:29ec:12b3 with SMTP id b11-20020a05620a04eb00b0078829ec12b3mr4936192qkh.53.1709734321800; Wed, 06 Mar 2024 06:12:01 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709734321; cv=pass; d=google.com; s=arc-20160816; b=hqxI087c6jR13as5KhTnVcJr1ar4D9W+5gxiGLYQTe9quOpbgEmKHpSvS32GpXJ4Ru eXmJtgjLfAhUxgAEOfE2iklcXsTYKJaSqGrVj9hBo2cDy3zcRFv7krw0QOnEhHEjOMVO UHVu68ZfC2xFFGiNKRGBI2eKEYcUGeIbI76uPkhyBexqfgQ2efIJtLVL7JC5xX/ieqIb DexsxUiOjmQdx/kO/B4QPOLHYMBGOIfBaA7a2qwiHUO/UUM3dTMn9u+HQovB7CJfdvN8 6x4l6yuBcFYlTiOwxLA7fO8cx5FI2oJ3rqIzH9MOeAYNl1AJBXS+QCmH4o7taloLIo5t TJEA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:mime-version:list-unsubscribe:list-subscribe:list-id :precedence:content-transfer-encoding:references:in-reply-to:subject :cc:to:from:date; bh=fZVgHUnYdsFxM3B1qJGTGRghmDpQj6Xe/Q2Ec5t6OfA=; fh=JEfCmJ1bLF+8nqDkXTUozTdX8IvoBXTTTrxn7gwFESg=; b=hmpytTk3L1v3UWNVIct0VYVEcaoH6Y8SedlBZjiYvM5mJnNk8yP9Qw3O+F15gs+uo8 cbzjyNdWWRkjF8u367+KaLqfo0cfmRO8//B8Bzugu6YdB7dd+UGQvi6IW+ZtzQcFMaSC Q8BeGtGhQH1hY9p7gHVYSLTWtz4HcFSdBYwA2HnG6uLRRrIAa5TuSE4Fx5EwC31BdKBS XlUxdEhWf2JTXbrRZDOit/SrBj3lv0Kb6HHmL21HrK7/rwHLt6Xc8wG8aUOvjHeBR+gy Qs7rXswaeg8b1WNNAqh6GOkThPgBKO7ZYRYqIJUGaTHYqVWCs7oXt18eNgkvVdASdefK T4qQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=zju.edu.cn); spf=pass (google.com: domain of linux-wireless+bounces-4436-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-4436-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id ay9-20020a05620a178900b00788411a7240si929298qkb.211.2024.03.06.06.12.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Mar 2024 06:12:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-4436-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=zju.edu.cn); spf=pass (google.com: domain of linux-wireless+bounces-4436-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-4436-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 8D4661C20FE6 for ; Wed, 6 Mar 2024 14:11:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B1B7F130E49; Wed, 6 Mar 2024 14:11:48 +0000 (UTC) X-Original-To: linux-wireless@vger.kernel.org Received: from sgoci-sdnproxy-4.icoremail.net (sgoci-sdnproxy-4.icoremail.net [129.150.39.64]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 32CBB131744; Wed, 6 Mar 2024 14:11:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=129.150.39.64 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709734308; cv=none; b=fbPl142g+ClxqC/2P0QqPQ7O9X9MCd/q99PFlJr/FfKpDwqRjtU6mC64t9cb1nz7jfYIfmC299YBnBPWs+KXB1qKgMAZr2asvnjbxlz/7cOiahN1QjiaDureA30YjjAU9xfBE9h4plzx8d9/IXFK7uRTAci9J/03oQbx4myJSY8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709734308; c=relaxed/simple; bh=fZVgHUnYdsFxM3B1qJGTGRghmDpQj6Xe/Q2Ec5t6OfA=; h=Date:From:To:Cc:Subject:In-Reply-To:References:Content-Type: MIME-Version:Message-ID; b=VeNKN5HArV8VsUweYgp7szpadp3P8GG/ZmkuK3IhMlBY2n1Bn+gDzNLBdtcUpoiHKL3N6rufSJjZ43fRLxo2ucIUboNacVbP22q72MquPlGMWRKpvPz5OivI92ct6G3EMVkmin08rbD8OXnALuiGV/FiCD5h2HK4W6GDaX3+TSg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=zju.edu.cn; spf=pass smtp.mailfrom=zju.edu.cn; arc=none smtp.client-ip=129.150.39.64 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=zju.edu.cn Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=zju.edu.cn Received: from duoming$zju.edu.cn ( [106.117.76.127] ) by ajax-webmail-mail-app2 (Coremail) ; Wed, 6 Mar 2024 22:11:21 +0800 (GMT+08:00) Date: Wed, 6 Mar 2024 22:11:21 +0800 (GMT+08:00) X-CM-HeaderCharset: UTF-8 From: duoming@zju.edu.cn To: "Arend van Spriel" Cc: "Arnd Bergmann" , "Kalle Valo" , linux-kernel@vger.kernel.org, "Konrad Dybcio" , "Hans de Goede" , minipli@grsecurity.net, linux-wireless@vger.kernel.org, brcm80211@lists.linux.dev, brcm80211-dev-list.pdl@broadcom.com Subject: Re: [PATCH] wifi: brcmfmac: pcie: handle randbuf allocation failure X-Priority: 3 X-Mailer: Coremail Webmail Server Version 2023.4-cmXT5 build 20231205(37e20f0e) Copyright (c) 2002-2024 www.mailtech.cn mispb-4df6dc2c-e274-4d1c-b502-72c5c3dfa9ce-zj.edu.cn In-Reply-To: <29de0b03-f65b-4918-ab5b-28dfd1c16a5d@broadcom.com> References: <20240301135134.29577-1-duoming@zju.edu.cn> <87h6hjhbqy.fsf@kernel.org> <3d433b58-384f-452e-904d-62e23b3b5a0b@app.fastmail.com> <29de0b03-f65b-4918-ab5b-28dfd1c16a5d@broadcom.com> Content-Transfer-Encoding: base64 Content-Type: text/plain; charset=UTF-8 Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <224867b0.cdd3.18e141ac13c.Coremail.duoming@zju.edu.cn> X-Coremail-Locale: zh_CN X-CM-TRANSID:by_KCgBnja2JeehlSFzNAg--.50707W X-CM-SenderInfo: qssqjiasttq6lmxovvfxof0/1tbiAwQMAWXnadMaowAAsL X-Coremail-Antispam: 1Ur529EdanIXcx71UUUUU7IcSsGvfJ3iIAIbVAYjsxI4VWxJw CS07vEb4IE77IF4wCS07vE1I0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