From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id DB221C43334 for ; Tue, 28 Jun 2022 14:29:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345972AbiF1O3I (ORCPT ); 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 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