Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1249811rwd; Wed, 31 May 2023 11:17:39 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4zJoaNUWgIlp0N1JQboFcfYpnuNG2tt3y99+ksE1wQjHlLrcNTfmQYIvktLQgLX9HtTetc X-Received: by 2002:a05:6a20:2591:b0:110:f66c:a0e1 with SMTP id k17-20020a056a20259100b00110f66ca0e1mr6876991pzd.14.1685557059167; Wed, 31 May 2023 11:17:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685557059; cv=none; d=google.com; s=arc-20160816; b=PIcwUFgHjxdm6I4GU3fAMH2dz36ugLnkfl/fspqZQX3rMj44wC78ZWTjqQP720WIX/ hNadFjJw0Io2SMnty9ScWB7GMTJ98kR8jIpr/QWRXB6iClCDn07sQ/h+C6RjbQhSbHwz q1ffdPqxP/UNBbJpaTQnTxGci/RClsA4U6p6FORMwcoDILXleovbla3OlazOc+qdv2wz S0oTXd2Bn3LUo6NyjAUaXTCSBL8+ZXT7LRa8MPqCcb9GxLt61vHVpD9KDpvm3XeNm6nG YMNkbOhH1swuvAyQ5fcpFdxSvyQ1/blKwkgZSnpp5ghESKIloghz6waHyRFP55s2SWUU dOwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=BHGIZ3Abi7wyCBmk3kzMQmE/HFAHTMexWUSn7aHC7xg=; b=gOBfhUB1d2x4mlJHlb9OlnIxS2XQotfR/CZoLRuJTiiqhTgZ0Qow+GmbWScszYkSbM LFrOisIeBtknw3QQZNmno3XuzNLWIQ2p31egKE2rnj6Q5jnzNLx6iEZJxN7ZtKMtJxoW Z3BAl2Yaew2hQQxX1ffyh4i+CyvEWo7noKUTMCSIkl/6vjZxnHNeffY8nJRD3O7vle3b nZR0/zjk4BzmhRvcmbtPNIh4KZvmOL8yRQ3b81jMaZJTvs31Zvzuy/WG4Sc4T+rX/ARD PThurcSNJaV5ximQKnOjmkrCk4zkltJIxrBpXfrCjRz0iU4VcovRGjlcNhk/rM5Ro4gg KZyQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=rBFj+9lL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a3-20020aa78e83000000b0064d3beb0d66si3804726pfr.78.2023.05.31.11.17.24; Wed, 31 May 2023 11:17:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=rBFj+9lL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229640AbjEaSDj (ORCPT + 99 others); Wed, 31 May 2023 14:03:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47922 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229514AbjEaSDi (ORCPT ); Wed, 31 May 2023 14:03:38 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E8DF0128 for ; Wed, 31 May 2023 11:03:29 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 86060614BA for ; Wed, 31 May 2023 18:03:29 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9F651C433D2; Wed, 31 May 2023 18:03:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1685556209; bh=w8AonyURJ04ONWrhlkbHyaeNLkA8eDcfq7Npj+vnFGQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=rBFj+9lLSoog8vQ1NVTqC8b4OCOdOG4vMnxLJN/oqC+0TmJWlpWpBSCNCrO7343SJ 1tDaUlgwaPnGJS010Qpr943wTB90xzcyzwJJQq5v+AC2UthazNYy/TIbbJ/WceHk2O wf7shkT4l2NlL27AS6b4zz+Of+hLNO5dN2j4bw5g= Date: Wed, 31 May 2023 19:03:26 +0100 From: Greg Kroah-Hartman To: William Breathitt Gray Cc: Vladislav Efanov , "Rafael J. Wysocki" , Rene Herman , linux-kernel@vger.kernel.org, lvc-project@linuxtesting.org Subject: Re: [PATCH] isa: Remove unnecessary checks Message-ID: <2023053106-multitask-sultry-b4c8@gregkh> References: <20230517125025.434005-1-VEfanov@ispras.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-6.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 18, 2023 at 09:46:21PM -0400, William Breathitt Gray wrote: > On Wed, May 17, 2023 at 03:50:25PM +0300, Vladislav Efanov wrote: > > The isa_dev->dev.platform_data is initialized with incoming > > parameter isa_driver. After it isa_dev->dev.platform_data is > > checked for NULL, but incoming parameter isa_driver is not > > NULL since it is dereferenced many times before this check. > > > > Found by Linux Verification Center (linuxtesting.org) with SVACE. > > > > Fixes: a5117ba7da37 ("[PATCH] Driver model: add ISA bus") > > Signed-off-by: Vladislav Efanov > > I don't think the Fixes line is needed because this is removing a > superfluous check rather than fixing a bug. Regardless, here's my Ack > for Greg as the patch itself makes sense. > > Acked-by: William Breathitt Gray Yes, the Fixes line makes no sense at all. I'll delete it when applying, thanks for the review. greg k-h