Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp650253pxb; Sat, 6 Mar 2021 11:51:07 -0800 (PST) X-Google-Smtp-Source: ABdhPJxY73sVjAAqGT68WbP7SC908m+DQjUhGckTy061tQXwmD5YgxE8cYvmFfssKIlh+0BDONxG X-Received: by 2002:a50:d987:: with SMTP id w7mr15196532edj.350.1615060267285; Sat, 06 Mar 2021 11:51:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615060267; cv=none; d=google.com; s=arc-20160816; b=peoHZU/xYI0dOdVfnTThtuhTCQtSV/Thby4eEGdR+NRoSxzYi8EPlzuW2THp6JLatG Gy5wAzzGMlPxuRvPdIhPV4xx7ikZu3fdr7E6zVHHQykejVS0wcEDxHqTJ3DmPVXjStEz fC9TfJcE2O3+kJWnMcLJUi3wjgqe44JPfIYCI6k6CkhavZMyCL0OjLrgO0iomG9uP/NP bIg6OjqJDgek3TrV/sfGSMSjkDGcpLhMEs4D6J6K76j6p2FaR3Aj4cl/vICJKMmKzwQz E7YRP1CC803SLJbCwW0siUlPy2bEomv+/j9he8qA2hrpD2YhrE1r4Zxf91UvdF6606qp UHTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:message-id :in-reply-to:subject:cc:to:from:date:dkim-signature; bh=3xWV5zAqKnrplLTO+ME8uiC/bDkyJw2IionsQTOWESU=; b=OdL7gVXA2azXOUkH8UjOC5DHT2tzqk1Sp4sZxPWQmE+TGaoz7hr09PwtYSCiHsV1Z5 +xviXK9GFbqk7PQ7tghg/lVDez0gNImujhxgKNWDGKaJigLdK/XWyy8dbYV+5ZlKJFKm WuaWULh/y5fqd9Z8g6GNgIzCFrMhOgMIHFh84x1bEXdEOC1GXV6KSKpUWs+yEJj1cVIK gkJ+WruMs+bn7Zg6O7TjqHI67NdGWhhVCVcTwGHb2SSX9QyUeaJdJCmI2+ClGQXcOCtL 0CxKo+JN+cbAXa+QvkRpJ9Xzeq8qebbka6bf4M4PZurV+vJzzy7GyJuqYlFzVmWvooDk YXzw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=IhwYVa3Z; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j23si3903951eje.690.2021.03.06.11.50.45; Sat, 06 Mar 2021 11:51:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=IhwYVa3Z; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231228AbhCFTtk (ORCPT + 99 others); Sat, 6 Mar 2021 14:49:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44376 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230390AbhCFTtQ (ORCPT ); Sat, 6 Mar 2021 14:49:16 -0500 Received: from mail-ot1-x332.google.com (mail-ot1-x332.google.com [IPv6:2607:f8b0:4864:20::332]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9410BC06174A for ; Sat, 6 Mar 2021 11:49:16 -0800 (PST) Received: by mail-ot1-x332.google.com with SMTP id j8so5345020otc.0 for ; Sat, 06 Mar 2021 11:49:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:from:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=3xWV5zAqKnrplLTO+ME8uiC/bDkyJw2IionsQTOWESU=; b=IhwYVa3ZyPSQ5ATyanUpL7cEHaIlUWYceq6glOHNc1VzUmBGPr0yWr5g1NAdnn2g+8 3c18wNeeJWbrcGKP3XaBBDiclc+tJhp/kRaLcn8uGCSJ/gySvMjyef35k5RbDp3CQygf y6+vhEfTxMTrFBnac6PTJdpiKJ5Mx5d/ww5VWZs2wgrAiCC6Q7KzZGyyr2NGg3Tt7jx+ I77BCnWUzYLc51Qa02/rcCCsrY4GbnU0swx/yNbTjNwr3J5YqovL8RfXsw6W1kbEWM/4 H7YCPjoPDOjuOcdauI/JGoUo8mnHOxY7zeMQvr1Mb1xyASG03QFW4s0KfQnEu1H4y4l7 zZRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=3xWV5zAqKnrplLTO+ME8uiC/bDkyJw2IionsQTOWESU=; b=op0ynAheyPitrzyfCo3d64d6p7OU8drdGdfHhvEUm3wyKRLNC+u2Y9m/EQK6tA+zmO 4wPvUmXN+brtZcTdhy5u3Ny5FGC5vb4Ojg3PzjWtXER1QNzfduIoSMYHJ4zQ6qVmPVF5 L+Xkr3kiPr/0xm54mBzyIDB2lNEHtDYKS7Os9TyvPk4OhAv4n4x0ZoPewNTHY0+mCaCK n1ISh0caRfcVKGq3QYBUUvltNH3qO2lVUslnGxo8TxoCDZNl+Yp/bAdSthU3Rm51t1bW THvDX+XceFczqyksmG2bUlzaLT4gww/F7m/9V6XuiT3ajs3Rm2a0e0puqoc/rLvzw2WI pCvg== X-Gm-Message-State: AOAM5326GTi9BPJOoz4KIi69M+R0GoYe8LYtD/WZcXcokTg3/yZinb1A waW98Rr4ZNZALF+Ft6T9wRW6vw== X-Received: by 2002:a9d:6381:: with SMTP id w1mr13282381otk.236.1615060155724; Sat, 06 Mar 2021 11:49:15 -0800 (PST) Received: from eggly.attlocal.net (172-10-233-147.lightspeed.sntcca.sbcglobal.net. [172.10.233.147]) by smtp.gmail.com with ESMTPSA id n6sm1353898oop.48.2021.03.06.11.49.14 (version=TLS1 cipher=ECDHE-ECDSA-AES128-SHA bits=128/128); Sat, 06 Mar 2021 11:49:15 -0800 (PST) Date: Sat, 6 Mar 2021 11:49:13 -0800 (PST) From: Hugh Dickins X-X-Sender: hugh@eggly.anvils To: Luca Coelho cc: Kalle Valo , Mordechay Goodstein , Jiri Kosina , Hugh Dickins , linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] iwlwifi: fix DVM boot regression in 5.12-rc In-Reply-To: Message-ID: References: User-Agent: Alpine 2.11 (LSU 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org No time_point op has been provided for DVM: check for NULL before calling, to fix the oops (blank screen booting non-modular kernel). Fixes: d01293154c0a ("iwlwifi: dbg: add op_mode callback for collecting debug data.") Signed-off-by: Hugh Dickins --- drivers/net/wireless/intel/iwlwifi/iwl-op-mode.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- 5.12-rc2/drivers/net/wireless/intel/iwlwifi/iwl-op-mode.h 2021-02-28 16:58:55.058425551 -0800 +++ linux/drivers/net/wireless/intel/iwlwifi/iwl-op-mode.h 2021-03-05 20:59:14.156217412 -0800 @@ -205,7 +205,8 @@ static inline void iwl_op_mode_time_poin enum iwl_fw_ini_time_point tp_id, union iwl_dbg_tlv_tp_data *tp_data) { - op_mode->ops->time_point(op_mode, tp_id, tp_data); + if (op_mode->ops->time_point) + op_mode->ops->time_point(op_mode, tp_id, tp_data); } #endif /* __iwl_op_mode_h__ */