Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp1136272pxb; Wed, 6 Apr 2022 09:32:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz6dFbFUs8+mnj/bSvsLRsjWlxN9MkxEy7NgJiAA0qZHWZHRaGFhnfJmrLc+7JL/eATYzOw X-Received: by 2002:a17:902:a3cf:b0:156:a809:ef85 with SMTP id q15-20020a170902a3cf00b00156a809ef85mr9584756plb.24.1649262776377; Wed, 06 Apr 2022 09:32:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649262776; cv=none; d=google.com; s=arc-20160816; b=Cm5C/egUSOD9DkOVGHCHdxO+7GT+I7iFmKkbtkFF0enVq3BqxwTd3tnYojGIuj6J27 XuruQs6Lzs4VubQ1NIlPYTi8xUxeANwBlo8QTWerSEbMDJm2vHEsRE5H48C51M/D9DpZ HJVzjToMoSjv5Kirx9YYdZ1G/LoDF6RuNqazoBcespFUE6/Dp2Jv4xSwXs6rYHyGzdFa CIGnhliBWFRrGT3pEA/a72wHu4tZuI4WmFgv2xuormqzGwMW/xAbC2UBhCdG4/dimM6Z HOksXQHs7xCWaODqnuesIeYYMugr71Z8iTJ8L3hFqi8OweEIQjuFDlTRDUsCCFZcBiID BaaQ== 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=D1ikJvA0424Rhyucbzn5A5DcyxsGJerFTS+/6UrH5Jo=; b=jYnU/KK5vZ+8CRssp+f7JYT6vab7WQAZ4EJ8Wvd7ctb895tPKBWKTV/4Sv7v8V0MBf LnHvLOq6ysHSYfTAsFXW6bZ65QLBcj3OsBWRNdB+wHQaGMj/vwQXvAktYkLoPJTN9nJf VF1wYmNUyxlD77o/2eLVU9tmXnXaTDGcrX5PpLcnO8+nbSwOBiRkvTLPmBlEhY92BKGw I/0cCwbRPOvBr+RKufiAhU9MHuxKuw6Yy8gNUfKmPnU2KcyW+oVRR4fjaxwhuSwkWNjH cSuQdpVyrEFPyfWwLcsnEFik7wVCaNwKYTZaTR/6QrDXApUTNaESzDnhnlhsgyBZDr90 dNPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ANlHs3LK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id n2-20020a6563c2000000b003816043f114si16129249pgv.777.2022.04.06.09.32.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Apr 2022 09:32:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ANlHs3LK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id CD304254955; Wed, 6 Apr 2022 08:39:31 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236472AbiDFPlW (ORCPT + 99 others); Wed, 6 Apr 2022 11:41:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39504 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236453AbiDFPlD (ORCPT ); Wed, 6 Apr 2022 11:41:03 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CC85A1CD7E9 for ; Wed, 6 Apr 2022 05:57:39 -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 ams.source.kernel.org (Postfix) with ESMTPS id D178CB82271 for ; Wed, 6 Apr 2022 12:48:08 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A32C9C385A3; Wed, 6 Apr 2022 12:48:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1649249287; bh=fLrN5u7BGbrpEcBI19emJ6LhV/+40Wj/PPZ1PABZiRE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ANlHs3LKNmHJ6cZM+ZBVLbtXEn0LIj/uHiU6FoiGWBW3d4x5NRJbLe2PLaQx1Vz+i iQkNZYwVEQDJgvlHntwPnB20nYjAFCf7m/Y+/tF0jeNUa5c69IDvL3eP7ccnfb6Ck/ CEgVhOgmZ8TE4PiAOWn/x2iNBSUhXL4JXhaEboI5iwe1CYnCxp0kCodvKuEiRVSuSz wuC5ulQuKgF9zmSoiMjr01nw8CXpcFOQfRRyyxiWl2j2MhpMPU3uXwQR/srIEndXBM JaVX9qkxWfWx0ix4IuqU6/ixnA5Xc8yaT9ru8/Dq9ZK4oceATVmssm2kz2u3jVe86X Y6R0V2q+e0Whg== Date: Wed, 6 Apr 2022 20:48:00 +0800 From: Shawn Guo To: Ivan Bornyakov Cc: Wan Jiabing , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, jiabing.wan@qq.com Subject: Re: [PATCH] bus: imx-weim: fix NULL but dereferenced coccicheck error Message-ID: <20220406124800.GN129381@dragon> References: <20220223035146.412499-1-wanjiabing@vivo.com> <20220223065815.i7qbyz2gtkgjzcwv@x260> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220223065815.i7qbyz2gtkgjzcwv@x260> X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 Wed, Feb 23, 2022 at 09:58:15AM +0300, Ivan Bornyakov wrote: > On Wed, Feb 23, 2022 at 11:51:45AM +0800, Wan Jiabing wrote: > > Fix following coccicheck warning: > > ./drivers/bus/imx-weim.c:355:18-21: ERROR: pdev is NULL but dereferenced. > > > > Signed-off-by: Wan Jiabing Applied, thanks.