Received: by 2002:ab2:2441:0:b0:1f3:1f8c:d0c6 with SMTP id k1csp215297lqe; Thu, 4 Apr 2024 04:52:40 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWPOXtrzZA5erhRaqCVJgbSWtBOQFEUDgzdJsl0YHP0Yxp07WFb8GYjz6FpBzp/0YNaVQKilCh65KLthCTt+6fN0wpm2bnMjqx+c8rD0Q== X-Google-Smtp-Source: AGHT+IH3Nvq/MdlHNH/5B0CuwesKf2TXyk31rcm84ixUhe5kqd5jiK/MKDmaR1DlocJax6a4w/Sp X-Received: by 2002:a17:902:f645:b0:1e2:be00:5140 with SMTP id m5-20020a170902f64500b001e2be005140mr353047plg.63.1712231560508; Thu, 04 Apr 2024 04:52:40 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712231560; cv=pass; d=google.com; s=arc-20160816; b=sVujoiSVz1QYYyweUYnba3nfYklbvN65BdMAjLP7TMbkDnPrgKy/h/5djjgSFxuaO5 Gom5M9KqTXEhloojJD6fQrxerk/wxc7+CjYVejnTvhCnmUDcqCcYZ4YLnUlA1Y/pXadx VpDwZAAgvjJg5In8VSDXMecMYIcpCLCMLMTQNh7/f4py6vgwCcfVZ2OEF8cZCkR16OBo lYO80YIpki/o5wADjPL9SJPgQKmAuQiqzyO6tuYY3vqY1neYjfXO2a3aFsRJe6ecc3IL oT+a2m8s9JvqkeRc3yumPxm9nbpwDhvkNCqcqv0Ud/feOHlKx1tGmPu7r1YbLWJZ7u9T vEYg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=llRzHEkl3eDbrJM0DrmtkTmAdEXjMEgY6FEgWZBJato=; fh=cHG5XjLsJtKoUGmsJfWkNtAUvPGncnlCDsfzC3/DrJc=; b=TPdXFYUd6sfven5Tc4QQ1ZYPDoZ1MUddjUmWltXr2h2Vh4ai7JceGDjSU4MAhoZvlw Y0bXBxfZPdSpWBP5g8i+aNsxbX5R2GjCsEdAandzmWPdwaww5GqAiZ0C3k/6Ee4zYgLW NHgDICwHZwW+H3tMUEa3yW9OJ6caZyehGt9/9tBFmsWaM8uLbJ1+1uK+2HLwYfl+kgQv 62Y6ColGSslHTLv0kZCaTPN+LV91u2B0f9YxDl/i0GdP1r/8BZSnMX6GzLc6OsBRfMqi DXUs07gxCZF2qZybWkX41xItnuK8quD4b3/z66OJpb+uWTT4VlzMqNZqZYaJ0aVA3wH8 0qzA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=fail header.i=@nbd.name header.s=20160729 header.b=XhJgRF9F; arc=pass (i=1 dkim=pass dkdomain=nbd.name dmarc=pass fromdomain=nbd.name); spf=pass (google.com: domain of linux-wireless+bounces-5870-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-5870-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nbd.name Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id y17-20020a170902b49100b001e2b147ada7si881032plr.152.2024.04.04.04.52.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Apr 2024 04:52:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-5870-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=fail header.i=@nbd.name header.s=20160729 header.b=XhJgRF9F; arc=pass (i=1 dkim=pass dkdomain=nbd.name dmarc=pass fromdomain=nbd.name); spf=pass (google.com: domain of linux-wireless+bounces-5870-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-5870-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nbd.name 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 5DFDC285682 for ; Thu, 4 Apr 2024 11:52:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8E94684D37; Thu, 4 Apr 2024 11:51:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=nbd.name header.i=@nbd.name header.b="XhJgRF9F" X-Original-To: linux-wireless@vger.kernel.org Received: from nbd.name (nbd.name [46.4.11.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8D4698286B; Thu, 4 Apr 2024 11:51:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.4.11.11 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712231495; cv=none; b=dvWDG119I91NxJ8Zm0whLTQuKr+rGCVfjQ6cZVg6Wd3T/J4mihvz03MskijbHLg4uLjoosjvAr0qZp2JdNxh/AH3ctxf8e+WklYIRU8zkF4kutOUokK+8fm2DcW38+xZIgRYUzmX81dSxInvArWm3RVVAwiopACB2BhmpqL3MQQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712231495; c=relaxed/simple; bh=8O5ZvZ4fjwgxssxn/ENNSi7XeulcJkW5wfpRx1emVzY=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=F3VmGSFZ8mFdresCuz538RhdO1vLGJZzEA4ubjQtAKSbFyUSB5IzgqzoVIQ0MP/D4KGPXu2+1McRq779D+VeWfpl0XNLDKgoTJgwyyxkRshJpzOFJ32wJ0mq5qJNrS6TpmgxHkR93K5gbTrDJuZedgeG1yF2BjP9VoSoceINkHc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nbd.name; spf=none smtp.mailfrom=nbd.name; dkim=pass (1024-bit key) header.d=nbd.name header.i=@nbd.name header.b=XhJgRF9F; arc=none smtp.client-ip=46.4.11.11 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nbd.name Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=nbd.name DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=nbd.name; s=20160729; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:From: References:Cc:To:Subject:MIME-Version:Date:Message-ID:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=llRzHEkl3eDbrJM0DrmtkTmAdEXjMEgY6FEgWZBJato=; b=XhJgRF9FaehxNarnGDJUCdPpCr TTjHcwyu3Uyb3N8+ZwDzoTEORab4vG/c+v4FhDD2CBIyJIeBVU1a5gnrR6bXdlB9deZP4cHZxtK6F heDktcHoGqccxJRopAOgbRQQvFihBmspGYfUady+IRBkEKWXKdbnvE/IqAoN0EQ3kFUY=; Received: from p54ae9c93.dip0.t-ipconnect.de ([84.174.156.147] helo=nf.local) by ds12 with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1rsLcl-00CzBm-AT; Thu, 04 Apr 2024 13:51:19 +0200 Message-ID: <6a18e0cc-a200-4db4-839f-f5ad213d44c4@nbd.name> Date: Thu, 4 Apr 2024 13:51:18 +0200 Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] wifi: mt76: connac: check for null before dereferencing To: Muhammad Usama Anjum , Lorenzo Bianconi , Ryder Lee , Shayne Chen , Sean Wang , Kalle Valo , Matthias Brugger , AngeloGioacchino Del Regno Cc: kernel@collabora.com, kernel-janitors@vger.kernel.org, linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org References: <20240301144406.2808307-1-usama.anjum@collabora.com> <1dd3cead-6251-425f-b050-582892da0800@collabora.com> Content-Language: en-US From: Felix Fietkau Autocrypt: addr=nbd@nbd.name; keydata= xsDiBEah5CcRBADIY7pu4LIv3jBlyQ/2u87iIZGe6f0f8pyB4UjzfJNXhJb8JylYYRzIOSxh ExKsdLCnJqsG1PY1mqTtoG8sONpwsHr2oJ4itjcGHfn5NJSUGTbtbbxLro13tHkGFCoCr4Z5 Pv+XRgiANSpYlIigiMbOkide6wbggQK32tC20QxUIwCg4k6dtV/4kwEeiOUfErq00TVqIiEE AKcUi4taOuh/PQWx/Ujjl/P1LfJXqLKRPa8PwD4j2yjoc9l+7LptSxJThL9KSu6gtXQjcoR2 vCK0OeYJhgO4kYMI78h1TSaxmtImEAnjFPYJYVsxrhay92jisYc7z5R/76AaELfF6RCjjGeP wdalulG+erWju710Bif7E1yjYVWeA/9Wd1lsOmx6uwwYgNqoFtcAunDaMKi9xVQW18FsUusM TdRvTZLBpoUAy+MajAL+R73TwLq3LnKpIcCwftyQXK5pEDKq57OhxJVv1Q8XkA9Dn1SBOjNB l25vJDFAT9ntp9THeDD2fv15yk4EKpWhu4H00/YX8KkhFsrtUs69+vZQwc0cRmVsaXggRmll dGthdSA8bmJkQG5iZC5uYW1lPsJgBBMRAgAgBQJGoeQnAhsjBgsJCAcDAgQVAggDBBYCAwEC HgECF4AACgkQ130UHQKnbvXsvgCgjsAIIOsY7xZ8VcSm7NABpi91yTMAniMMmH7FRenEAYMa VrwYTIThkTlQzsFNBEah5FQQCACMIep/hTzgPZ9HbCTKm9xN4bZX0JjrqjFem1Nxf3MBM5vN CYGBn8F4sGIzPmLhl4xFeq3k5irVg/YvxSDbQN6NJv8o+tP6zsMeWX2JjtV0P4aDIN1pK2/w VxcicArw0VYdv2ZCarccFBgH2a6GjswqlCqVM3gNIMI8ikzenKcso8YErGGiKYeMEZLwHaxE Y7mTPuOTrWL8uWWRL5mVjhZEVvDez6em/OYvzBwbkhImrryF29e3Po2cfY2n7EKjjr3/141K DHBBdgXlPNfDwROnA5ugjjEBjwkwBQqPpDA7AYPvpHh5vLbZnVGu5CwG7NAsrb2isRmjYoqk wu++3117AAMFB/9S0Sj7qFFQcD4laADVsabTpNNpaV4wAgVTRHKV/kC9luItzwDnUcsZUPdQ f3MueRJ3jIHU0UmRBG3uQftqbZJj3ikhnfvyLmkCNe+/hXhPu9sGvXyi2D4vszICvc1KL4RD aLSrOsROx22eZ26KqcW4ny7+va2FnvjsZgI8h4sDmaLzKczVRIiLITiMpLFEU/VoSv0m1F4B FtRgoiyjFzigWG0MsTdAN6FJzGh4mWWGIlE7o5JraNhnTd+yTUIPtw3ym6l8P+gbvfoZida0 TspgwBWLnXQvP5EDvlZnNaKa/3oBes6z0QdaSOwZCRA3QSLHBwtgUsrT6RxRSweLrcabwkkE GBECAAkFAkah5FQCGwwACgkQ130UHQKnbvW2GgCeMncXpbbWNT2AtoAYICrKyX5R3iMAoMhw cL98efvrjdstUfTCP2pfetyN In-Reply-To: <1dd3cead-6251-425f-b050-582892da0800@collabora.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 04.04.24 13:49, Muhammad Usama Anjum wrote: > Soft reminder I have this one in my mt76 tree already, and it will be included in my next pull request to Kalle. - Felix