Received: by 2002:a05:6a10:6006:0:0:0:0 with SMTP id w6csp405868pxa; Thu, 27 Aug 2020 05:52:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJztOY0wDiMdjuXnkX+HODdbEo/XBLy4G+kiT6zL06JZsIfZJbd4Smt6F/ilWteYCCYNIFKU X-Received: by 2002:a17:907:2101:: with SMTP id qn1mr12426408ejb.297.1598532727523; Thu, 27 Aug 2020 05:52:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598532727; cv=none; d=google.com; s=arc-20160816; b=on3IBjwazYIa1xegRlncJY4jGjAyJiOJuixHyp/0DW5jhzjlQK0ER0TtFDbiUjgr4O 3vjp3Ok0XLF7FtwLKxmF0mLx4sc4gYGc/FaYUEzLN0ydCw6uOuaL7ONtiKuFPfuvrEyL 8hCfw552eJBgQn7QHVQz39i2sUqg+CIQjals6GFyKfT94/WEJ0jvWZW8z0VDD21WtkpA rfwlr9YjBVXapb5/yBbvlJWLAYQWkBSiGGkXgbLjSJElqmL49k3nI/XQVqynUky09kBC tMHg776CyZ11HXzcEq3Jc3BScK2QxbJ6N6dm/hf6W/Hqh+t5pAHh/mTjLmMzgk/Sti7o y8xA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=NgYqmRaL2PM4nVpU3qv5jtc6S2kNpbGgQeEUEMj4c1A=; b=fv/mzPdYX/K0guR6so/kVGBw9iuJXy0Byp42rZbM+9aRNRQXL488zW1m/DLEvrKu8X LUg/KQOnsoMuKJj0zQjn+Rmhdy5JPy3A2B8jmyZlEs6hul/zuhYpuukMhR/1Ytzdndo4 skRfoo2MXRa4x7EjkXHqUdoMQ2+NnvpN0ERcxN5tvoMLHcarEXUwaB8qNrIpwGOcY0d2 mJCcayCLNBFwgHCUk26eXG48ScD2tpCxjXOYqBN/lwW9gBh/tTP2diBy4pi51aYAUJZC 5GxAk9fFyeslLZn1ALDuC2fZsd+vWBrBKM37bmeV8N0AqvnwynHPjyBOpfBGeJTnf6Gk 3CZQ== 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 me20si1248540ejb.270.2020.08.27.05.51.44; Thu, 27 Aug 2020 05:52:07 -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 S1729202AbgH0Mtc (ORCPT + 99 others); Thu, 27 Aug 2020 08:49:32 -0400 Received: from mx2.suse.de ([195.135.220.15]:60942 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728847AbgH0Mpv (ORCPT ); Thu, 27 Aug 2020 08:45:51 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 27660B65C; Thu, 27 Aug 2020 12:46:22 +0000 (UTC) Message-ID: <1f16a16669dd78127236db1916e41387ebdd32d1.camel@suse.com> Subject: Re: [PATCH 4/4] qla2xxx: Handle incorrect entry_type entries From: Martin Wilck To: Daniel Wagner Cc: linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, Nilesh Javali Date: Thu, 27 Aug 2020 14:45:49 +0200 In-Reply-To: <20200827114626.daispydkcsdp3rj2@beryllium.lan> References: <20200827095829.63871-1-dwagner@suse.de> <20200827095829.63871-5-dwagner@suse.de> <21cd86f782616fcac25f1a6270a9bd834ec777b7.camel@suse.com> <20200827114626.daispydkcsdp3rj2@beryllium.lan> Content-Type: text/plain; charset="ISO-8859-15" User-Agent: Evolution 3.36.5 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2020-08-27 at 13:46 +0200, Daniel Wagner wrote: > On Thu, Aug 27, 2020 at 12:17:13PM +0200, Martin Wilck wrote: > > Should we perhaps log an error message when we detect a mismatch > > between sp->type and entry_type? > > Sure can do, but does it really help? Not much we can do in the > driver. I hope the firmware gets fixed eventually. I am not against > it, > just not sure if the log entry really is helping except saying 'you > are > using a firmware with a known issue'. > ... which might provide insightful, to users as well as perhaps developers (by observing under which conditions this problem occurs). I'd hope so, at least. But you know this issue much better than me. Regards, Martin