Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp4022383iog; Tue, 28 Jun 2022 07:32:12 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sbUz/dbT4GBKsNTSnrNvsviKE2eJ8t9Guyr/lU+SsUrmzC0HIM/fH1B8gWc6ImzbQvoXcS X-Received: by 2002:a17:902:da90:b0:16a:2f0c:11b2 with SMTP id j16-20020a170902da9000b0016a2f0c11b2mr4000997plx.85.1656426731871; Tue, 28 Jun 2022 07:32:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656426731; cv=none; d=google.com; s=arc-20160816; b=gH3yPPJ9rgWRYLQRSkTAeGMX+9T2025V/nLFPwfeVyioTnyjluXqKTN2UhRYn0wo7Q iZRr8Xvu39uW02j7G1xf+xfZwyayco2AOOIqwswFgdXNaXKpxJi+931ZkdSaapda10E5 SXbnucU7fq5PoRTqAY1FuUu8Q0YmZoxC90utIGanNmUxEKp87SFfB1dnVOx4vdohsTkP PDTofH510hHeBOfQOSATAImG+TitPDu1uvs4UAk4P/GP7qK6aCpJNegpxkFK4Y+GgP1V 45Cqban6+S3Rh4fnZn+kQ4NQMEqBklvI1NQ1r8s6mbfRuYqeU30XIMzRd4gCQCmdbVoT LblQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:user-agent:references:in-reply-to :subject:cc:to:from:date:content-transfer-encoding:mime-version :dkim-signature; bh=MpRKtZpFLktkgTbi7m0M2Z6Uxt/QW82l1sKys2neJSI=; b=N/EkvZLJGTd+6cAsljDDLOUjnarOkKrEiZu08XfsOxev+HhuTTW/edi9AWSXsr49+3 hayxsoS5xvtEVX3DehvlZOHcqo7Sx12ORgWrikn6Li9eM4l3MeqZCT9Yk5pOC0hCgvD2 zaj+YM4Ql1oA2p4XuxNyWStBrg2uCkezLm9150HH6NGI+YmrI4VBva1lsSx6rKx2+NtJ qjORbzlue4SqtQg3U1r+SPU/eVVLrH/qoYXczQ5wZIww5defG4Kfhs/NU5IsN6eGgW5d GVNxuQDFJ94qcUIlN87UiZRxMZ/ev6D6GlIHg7Z0R+NK6vlrdXO0bwvQlk4rqidJmpEv qOVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=tpeev2+k; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u5-20020a170903124500b0016b7dd2626fsi8958755plh.195.2022.06.28.07.31.57; Tue, 28 Jun 2022 07:32:11 -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=@walle.cc header.s=mail2016061301 header.b=tpeev2+k; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346276AbiF1O3I (ORCPT + 99 others); Tue, 28 Jun 2022 10:29:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39286 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235222AbiF1O3F (ORCPT ); Tue, 28 Jun 2022 10:29:05 -0400 Received: from ssl.serverraum.org (ssl.serverraum.org [IPv6:2a01:4f8:151:8464::1:2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5BA423122E for ; Tue, 28 Jun 2022 07:29:02 -0700 (PDT) Received: from ssl.serverraum.org (web.serverraum.org [172.16.0.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ssl.serverraum.org (Postfix) with ESMTPSA id 6149022246; Tue, 28 Jun 2022 16:29:00 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1656426540; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=MpRKtZpFLktkgTbi7m0M2Z6Uxt/QW82l1sKys2neJSI=; b=tpeev2+k0VwkguJMzUXow/hE9mwgT6YIGphV0rguswqfC1KlbgkrV+R/nvNDq6k/j9benF uhP7vsQ6MP+MoW/2HUjS+56XWs1HG99Abmjc0jyqL0tR2fhMQ2JS8zT8vMEDfJlhuE1jCU /BmS4vN6wyRQbS/0J46mkeG1y9Cr98Q= MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 28 Jun 2022 16:29:00 +0200 From: Michael Walle To: Yang Yingliang Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, arnd@arndb.de, shawnguo@kernel.org Subject: Re: [PATCH -next 2/2] soc: fsl: guts: check return value after calling of_iomap() in fsl_guts_get_soc_uid() In-Reply-To: <20220628140249.1073809-2-yangyingliang@huawei.com> References: <20220628140249.1073809-1-yangyingliang@huawei.com> <20220628140249.1073809-2-yangyingliang@huawei.com> User-Agent: Roundcube Webmail/1.4.13 Message-ID: X-Sender: michael@walle.cc X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Am 2022-06-28 16:02, schrieb Yang Yingliang: > of_iomap() may return NULL, so we need check the return value. > > Fixes: 786dde1e59d7 ("soc: fsl: guts: add serial_number support") > Reported-by: Hulk Robot > Signed-off-by: Yang Yingliang Reviewed-by: Michael Walle