Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp612501pxy; Wed, 21 Apr 2021 10:29:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzxivCfCVtDqVhvx8q5HKWVfW1QXL58pZ8kE952RLXa4dDc9pBbo0OEDW83B3kzgbOprONM X-Received: by 2002:a17:907:9691:: with SMTP id hd17mr34415388ejc.205.1619026170288; Wed, 21 Apr 2021 10:29:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619026170; cv=none; d=google.com; s=arc-20160816; b=zz4SGnKNMH+en6PPft+VgVJqBHss8Ft2CGTZ0Lt/CocGU1XvIUf7SQnsH/wrpM/0BU wH7PrIhVnBk2x2jSO/UMAL9jfweR2nqeKA9IOyF8Osx9AFnazsFym7mL54uIgEDCA1Hw n/us5+KG430cirZd4ZSujmau8lFdywfDbmymn1ELchXfQ81OlZeXilEBGMkvnID1r09v ix9cHFA/48IwOAROdehTXmyRBWKCOqug1ORXOtz4ieISEyV+bXmtTWpYkpjRtB+RDVzz cHdaZAIRvpCQgrgAFgO3ztsOCCbDAorI4iAPy8riV9tOu7seewrqOyGiE4INA9i1u/ya r37Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=wLmXPLIt6iB41Pynn/MRnO62DvqULefeLH2OWNFV4wI=; b=FB6xMgwzEHqmfz8322fd31t9UzXOUrIT4V8KWFfieVtcg3HIZiiv6gfFCffD284MGv YAV+JmRc1j27t1b0SGgipS8r2Yj65Zps0fVi+nNCWAugOoPg3A7A6yeaEhgkEVL9l8i7 SL5p8m+Sa9QLbNh986VaYMQdKgDC7IpjJ0J8myzSVDwffPPFAhprwHaF3G1/7ogaH/Z0 IQ0ADd5I0i7LJKbrv7SdQbbPY4VgiivtAn5/nq/1bp2k0pTZOI77jgK3hjjt7EWH/v7q bL0KIrFBYnnDkyVg4dxofunh1P3ipABX/VbtOjN8fCDuq9qzDlTjfwkGyQEquFWHZvMz AMfA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id nc31si2272375ejc.680.2021.04.21.10.29.06; Wed, 21 Apr 2021 10:29:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241563AbhDUNoe (ORCPT + 99 others); Wed, 21 Apr 2021 09:44:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47244 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242749AbhDUNoI (ORCPT ); Wed, 21 Apr 2021 09:44:08 -0400 Received: from sipsolutions.net (s3.sipsolutions.net [IPv6:2a01:4f8:191:4433::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 36AF6C06138A for ; Wed, 21 Apr 2021 06:43:34 -0700 (PDT) Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.94) (envelope-from ) id 1lZD8e-00ElCk-Gn; Wed, 21 Apr 2021 15:43:32 +0200 Message-ID: <911d4b8d3e9c68860ef4163fc4cce3b5fbb485c5.camel@sipsolutions.net> Subject: Re: [PATCH 070/190] Revert "rfkill: Fix incorrect check to avoid NULL pointer dereference" From: Johannes Berg To: Greg Kroah-Hartman , "linux-kernel@vger.kernel.org" Cc: Aditya Pakki Date: Wed, 21 Apr 2021 15:43:31 +0200 In-Reply-To: <20210421130105.1226686-71-gregkh@linuxfoundation.org> References: <20210421130105.1226686-1-gregkh@linuxfoundation.org> <20210421130105.1226686-71-gregkh@linuxfoundation.org> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.38.4 (3.38.4-1.fc33) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-malware-bazaar: not-scanned Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2021-04-21 at 12:59 +0000, Greg Kroah-Hartman wrote: > This reverts commit 6fc232db9e8cd50b9b83534de9cd91ace711b2d7. This commit was fine, though the commit log is misleading since there's no dereference yet, just a pointer calculation. I may not have seen that at the time, or have decided that the slight commit log inaccuracy didn't matter. I'm inclined towards keeping it, since it removed a BUG_ON(), but there's no reasonable scenario where somebody could end up calling this function with a NULL pointer. johannes