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 phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3A634C4167D for ; Fri, 7 Oct 2022 14:12:16 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id EB18A84E86; Fri, 7 Oct 2022 16:12:13 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1665151934; bh=NHQmnqukD0eQjlBohbQr6Qnk+FM9URuPSoJPoujLdp0=; h=From:To:Cc:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=KueKmCYK7KeCul00V5Jvf4hqtjMCIV+63d7L3Q0FfM0AnnJ3BTHpL3xTDPYNgOt5k 1MmdJKUatGH1u/1eEk7gqviLVV+eaJ+uCLX/BHg+CyHJ30/vyW695qkHfe9U2FpaKr wPllo5EmFAGMeiJ0AVDi+kbKOcBB+SKUfSvf6kpFjdHaQIhYWZ0iVQ8HQTnYSRto2e xFDIKNKINcSECnkcGXkjUURUbqaxi7vIM8O237ttsedvIIEvUzGWt+S5e7m/ofZZ2y c9yPvyAHHgpXjzDzZyzlQZhvZZUojK4jrIJ0t7XrcVvWqzivN1WpSDpCiDnsjBn+LL mB3yaGeh8f/6w== Received: from localhost.localdomain (unknown [IPv6:2804:14c:485:4b69:5920:d298:2e87:c063]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: festevam@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 78A8084E7A; Fri, 7 Oct 2022 16:12:10 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1665151932; bh=NHQmnqukD0eQjlBohbQr6Qnk+FM9URuPSoJPoujLdp0=; h=From:To:Cc:Subject:Date:From; b=GsmjT4FHUFM2x4tae2cOuunSNG0at0JXYKPMGFnrJOrupnjsAjm9CUKmnErtQT8/G 3vLlFtkucatHHT/8zsp/407qwmybNHdsjA23fGDLMQyqUIH1kea3QTgMsWIL5+wdAZ oqhXScIDYrIxUSlzf6Vli56+dk7RJ+RKoBkVTfY+96knbaxAZFjdhuO0hmWaIH80+U VDP/VjO2cDojmE7emBvHRYAmPCRPVvwB4g3BVDU0nkeoSZZARZVajRArBcDeTg7w4R 9ANrMaI9hfkUmSwawp7U3UCCCv2GkFE2sWDnLDskvtzE0FYc7NLALYof44DxmmfC3/ Q+uG41BgYOVpA== From: Fabio Estevam To: michael@amarulasolutions.com Cc: mikhail.kshevetskiy@iopsys.eu, u-boot@lists.denx.de, sjg@chromium.org, Fabio Estevam Subject: [PATCH] mtd.h: Update the function name to 'rfree' Date: Fri, 7 Oct 2022 11:11:58 -0300 Message-Id: <20221007141158.1858202-1-festevam@denx.de> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean Since commit 8d38a8459b0d ("mtd: Rename free() to rfree()") the function has been renamed to rfree(), so update the description inside the mtd_oob_region structure as well. Fixes: 8d38a8459b0d ("mtd: Rename free() to rfree()") Reported-by: Mikhail Kshevetskiy Signed-off-by: Fabio Estevam --- include/linux/mtd/mtd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/mtd/mtd.h b/include/linux/mtd/mtd.h index ff635bd716..09f5269887 100644 --- a/include/linux/mtd/mtd.h +++ b/include/linux/mtd/mtd.h @@ -122,7 +122,7 @@ struct mtd_oob_region { * @ecc: function returning an ECC region in the OOB area. * Should return -ERANGE if %section exceeds the total number of * ECC sections. - * @free: function returning a free region in the OOB area. + * @rfree: function returning a free region in the OOB area. * Should return -ERANGE if %section exceeds the total number of * free sections. */ -- 2.25.1