Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp2833128rwb; Mon, 19 Sep 2022 10:36:30 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6wpeWXT2BW9keXd9QPxij5wAugfmbBLpsUMHp6K8v+lj0A5SpvktEVcE9T3E98yYVJ/G3T X-Received: by 2002:a05:6402:1cc5:b0:453:ed3f:6a38 with SMTP id ds5-20020a0564021cc500b00453ed3f6a38mr6687213edb.346.1663608990162; Mon, 19 Sep 2022 10:36:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663608990; cv=none; d=google.com; s=arc-20160816; b=U8OtuWxphbeiy91e9qa9Q3VfHv36cHje4/essy5xq7pyOMBb4QqrQkacpHfP9+BMuo ZqXtDkPEapYHUgR67otMWbq4zpmvVkFNjQ/PXqheWlk6q87mgCN4s5rcJJRszN9AGNWr /3olXMsek2T+0b5Vwo4cbX3vuHhy3jywUDOltW+WFkkSB/I+qRBy7Fkzyl+rp7NOSUX0 IvEetZx/eK45OhYiRp6MEuadtqiWIS1niAekZ9jwR9+2+WsCf8Q3Vx/P/CUUHP793dzm F4BKxYw8+Py84JYoBleRkz9Jk0/YYR/DhoFVpGONscVaDjLJ2Zs7FomJFAcIH519aJ8E tuHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=2igv61d+yyXjIWPMPbUkwtzPP4hi7M6BgZTabOpDc88=; b=abXH5NWdhthB1t4zvUtHQ+n9SOsZeltxDhasgOnldD5+zmvskW8GqrYDY3wQeED9es Tc0yGd3U2XVlAOMEnAYKiFdJiRTfitB6IE5LPGEdUvOKea7czxeibqXYOY7gH8oeBRxz xum7DiZH5WjjKqq1VoKBXfppfbZZafIWCxRgbWLQip9e8OcxDltMqHXJqh91fWeU78So tT3vnDzg+1o12mmBJykz0gNXw0uIvJXm4zRrrFIS28XLoKH1sFcld5TdOMRWkS9NSDQG rmozpeQymVt7J5rj0/vbRINvPYkqE7SI/WWVAiETBrq5qOtd0iJYW6AuLEcg73Cvwic9 00Mg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b="VkKbhl/5"; 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=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id kw2-20020a170907770200b00741a0720a2bsi24110559ejc.814.2022.09.19.10.36.04; Mon, 19 Sep 2022 10:36:30 -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=@bootlin.com header.s=gm1 header.b="VkKbhl/5"; 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=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229624AbiISQQh (ORCPT + 99 others); Mon, 19 Sep 2022 12:16:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43892 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229926AbiISQQY (ORCPT ); Mon, 19 Sep 2022 12:16:24 -0400 Received: from relay1-d.mail.gandi.net (relay1-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::221]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 236823AE5E for ; Mon, 19 Sep 2022 09:16:16 -0700 (PDT) Received: (Authenticated sender: miquel.raynal@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id 0E0F7240005; Mon, 19 Sep 2022 16:16:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1663604174; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=2igv61d+yyXjIWPMPbUkwtzPP4hi7M6BgZTabOpDc88=; b=VkKbhl/59oKwtZv/rP75n83KA9m00eOMhteiylV0vS4t8mxs5tCfZTDTaA6z2bUnteyXjT ABN7+185TmxaHqGOglN8arrBlO6RJeerqtL4FwJuI2jKy+6XW/KeA8QjfgD2SuBJ4ciX7I EfpGwzg3rZ3C3ZWcpZ/9IbksUglBTnLvMTpKvUHYa+AO7HZfbwXAC7WM2GUaH83foyPKv8 iZmtU/xDX+mx8zjuXS3Zkr0GvMEaPlkeHm0oGh/GjFo1XbGSXM+R3K0EbSh/gAyEOFQdmx uPV+pSwzgTuvNijrZHKOoh/sq7Y1c0SV/kvID6mwczY7IG/vaIODHLEDotE99A== From: Miquel Raynal To: williamsukatube@163.com, robert.jarzmik@free.fr, miquel.raynal@bootlin.com, richard@nod.at, vigneshr@ti.com, linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org Cc: William Dean , Hacash Robot Subject: Re: [PATCH] mtd: check the return value of devm_ioremap() in docg3_probe() Date: Mon, 19 Sep 2022 18:16:12 +0200 Message-Id: <20220919161612.226599-1-miquel.raynal@bootlin.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220722091644.2937953-1-williamsukatube@163.com> References: MIME-Version: 1.0 X-linux-mtd-patch-notification: thanks X-linux-mtd-patch-commit: b'26e784433e6c65735cd6d93a8db52531970d9a60' Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS 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 Fri, 2022-07-22 at 09:16:44 UTC, williamsukatube@163.com wrote: > From: William Dean > > The function devm_ioremap() in docg3_probe() can fail, so > its return value should be checked. > > Fixes: 82402aeb8c81e ("mtd: docg3: Use devm_*() functions") > Reported-by: Hacash Robot > Signed-off-by: William Dean Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/next, thanks. Miquel