From patchwork Thu Dec 17 11:27:37 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 344920 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp1076719jai; Thu, 17 Dec 2020 03:28:06 -0800 (PST) X-Google-Smtp-Source: ABdhPJzRpj47Y4WOXBTmZY5leZF3I0q23d/hYvFYKr77KNdzdVGbX+eLDIdGL1IzvrMMLhTxaDhk X-Received: by 2002:a50:d757:: with SMTP id i23mr38287702edj.116.1608204486734; Thu, 17 Dec 2020 03:28:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608204486; cv=none; d=google.com; s=arc-20160816; b=pibhCSDfUG2GS6xfFwV8kfa+y10CBO5qph3wfI9Zvcfu5R2rlKTYsRGXqiaicdfg8V cYJKdUzWTY5qNLmZxQzS/TV5JQALGDaR5p6fuCJgdxTp8cOfLVlgAB9AW0KJyxlh9MrP a81sfhxAuioO9VF9369DhcFc90c6kMWs8qLAGtaBw1kuGU9rugSzvR5QO6P9ilVvBS8N 68FVsnLp6+R1N6OjbvAzGbNmYhRnYQ0i4xOVKxHkHys47pRp4WmoYullAL6R33b+Q3kI GJVRdU6VJzwHQ2NkeBnQeonBwyaO9mWlRD8gQxQQA+cWyq3pUITbV4VR3lgB0WVcry5E fv5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:references:cms-type:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature:dkim-filter; bh=QVv/OpDO86vbjc8WTV2cueIe9E1CfauEIcaW529qV2w=; b=X1HOhnKk3beQ3tDjE39lTPvAmJGaEI/qagIgg+jRAml2Ap0T62DigZp7Kl2VKTD1Ua Sj+BBrq9NfsHs0xfzCF5MmWvIwmnKL78h1fBfH2ev4p6QKJjp3uP7T18g/BWcbyfkzcc /CCoqRoWoRmJg5iRvoQJkVuimK7KNP7Rh1f4Mc80o0iEkHK+FuIFbrxxwZWsn+lGcl0s zFcBS3TwNHAAq/PeZ+mqNo1i3c63rVtKteV5v1T/UHo868fAAjyixDFpV/x/KcX2zwIH x6yEgsCBXE0cyRVyklMx1siFuxjjLdhh+EagmGxmr75PYcll2WuWji996tkUc9b+Zn4M S1tQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=l8UZBTFo; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from phobos.denx.de (phobos.denx.de. [85.214.62.61]) by mx.google.com with ESMTPS id co1si4181498edb.571.2020.12.17.03.28.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Dec 2020 03:28:06 -0800 (PST) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=l8UZBTFo; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id B8AA682BA1; Thu, 17 Dec 2020 12:28:03 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=samsung.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=samsung.com header.i=@samsung.com header.b="l8UZBTFo"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 1F3AD82BA1; Thu, 17 Dec 2020 12:28:01 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-7.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_HI, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mailout1.w1.samsung.com (mailout1.w1.samsung.com [210.118.77.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 75EAF826A7 for ; Thu, 17 Dec 2020 12:27:58 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=samsung.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=m.szyprowski@samsung.com Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20201217112747euoutp01f7fdc83189cf44847c80e8f67b009b95~RfXFMFGv_1619716197euoutp01p for ; Thu, 17 Dec 2020 11:27:47 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20201217112747euoutp01f7fdc83189cf44847c80e8f67b009b95~RfXFMFGv_1619716197euoutp01p DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1608204467; bh=QVv/OpDO86vbjc8WTV2cueIe9E1CfauEIcaW529qV2w=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=l8UZBTFovJCl4xUz1ZJpNzTFUvVTMRps6J7Fxg4xaumTJyItPOjoYYFAQtH7057Q4 YQzMIJafUlAnBPKCNW2Aic5IjdKpCs3f56d3R4QrWwejb2F7b6MIVd8L++O0O9TrYR +EAubuondkTMHG006igOWCRC40BIm5/Vzi1kgTPE= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20201217112747eucas1p13cd35af1e21044e762745d30938667d2~RfXE7RaOE3085230852eucas1p1h; Thu, 17 Dec 2020 11:27:47 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id 87.2B.44805.3B04BDF5; Thu, 17 Dec 2020 11:27:47 +0000 (GMT) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20201217112746eucas1p219413adf54a50853ff6272b753452660~RfXEhEzBz0440304403eucas1p2g; Thu, 17 Dec 2020 11:27:46 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20201217112746eusmtrp25d93c7c02c6ae4443ce8d7bc2d1dff3e~RfXEgf3rh2732627326eusmtrp2G; Thu, 17 Dec 2020 11:27:46 +0000 (GMT) X-AuditID: cbfec7f4-b4fff7000000af05-a3-5fdb40b3a268 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id A9.F0.16282.2B04BDF5; Thu, 17 Dec 2020 11:27:46 +0000 (GMT) Received: from AMDC2765.digital.local (unknown [106.120.51.73]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20201217112746eusmtip2910bba754a6fd8f97bd98c170f359752~RfXEFqKJN3181331813eusmtip2O; Thu, 17 Dec 2020 11:27:46 +0000 (GMT) From: Marek Szyprowski To: u-boot@lists.denx.de Cc: Marek Szyprowski , Lukasz Majewski , Simon Glass , Heinrich Schuchardt , Jaehoon Chung , Bartlomiej Zolnierkiewicz Subject: [PATCH 4/6] disk: dos: make some functions static Date: Thu, 17 Dec 2020 12:27:37 +0100 Message-Id: <20201217112739.5045-5-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20201217112739.5045-1-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrPIsWRmVeSWpSXmKPExsWy7djPc7qbHW7HG3zbxWqxccZ6Vosbv9pY LZ6/u8xksfbIXXaLb1u2MVq83dvJbnF46gdGB3aP2Q0XWTzmzTrB4vHhY5zH2Ts7GD36tqxi DGCN4rJJSc3JLEst0rdL4MrYtvMKe8FU9oqpd++wNjD+Zu1i5OSQEDCRuDFvKpDNxSEksIJR ou/WHRYI5wujRNP8M2wQzmcgZ9ovRpiW1hW3oRLLGSWun37EBNeyZv1CsCo2AUOJrrddbCC2 iICExK/+q4wgRcwC/xglDv76CLZdWMBK4uoaiLEsAqoSGx+8B4vzCthIvDq2C+pCeYnVGw4w dzFycHAK2Eosby8DmSMhMJNDovPXLXaQuISAi8Sr1zUQ5cISr45vYYewZST+75zPBFHfzCjx 8Nxadginh1HictMMqH+sJe6c+8UGMohZQFNi/S59iLCjxLX7dxkh5vNJ3HgrCBJmBjInbZvO DBHmlehoE4KoVpOYdXwd3NqDFy4xQ9geEvfmdUEDawKjRPun36wTGOVnISxbwMi4ilE8tbQ4 Nz212CgvtVyvODG3uDQvXS85P3cTIzBNnP53/MsOxuWvPuodYmTiYDzEKMHBrCTCm3DgZrwQ b0piZVVqUX58UWlOavEhRmkOFiVx3qQta+KFBNITS1KzU1MLUotgskwcnFINTNbui2do7vtV obh5cX9kz/++lIbMM5OaxCw1HWYUe1wp2HTb34TvzLOFy40s8nwKTnMlHV1r4F5/2SZUznEC S/v87QKnV6/vuZK8UyvQRig27OrTJqnz9ypVdB4p/XF6NG+yr2vxupXBbj/UFu0+e1/AoVi1 Q0ex9Vwoe+6eVTKf9WN9zvZ77i3WzvqpvTThesLFvRf27vIUYztUpBW24mHA51CprSsmXIzO 7fgsct8iocO2vjvZNz59ytv1ao3e7BWBP6r/HMrcqVcfESI+P6Z9zfGvR28K7nL5ElG5671X S9zuoHTprQ5f8+f+qpAU/W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IAAA== X-CMS-MailID: 20201217112746eucas1p219413adf54a50853ff6272b753452660 X-Msg-Generator: CA X-RootMTR: 20201217112746eucas1p219413adf54a50853ff6272b753452660 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20201217112746eucas1p219413adf54a50853ff6272b753452660 References: <20201217112739.5045-1-m.szyprowski@samsung.com> X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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.102.3 at phobos.denx.de X-Virus-Status: Clean Make functions not used outside this file static. Signed-off-by: Marek Szyprowski --- disk/part_dos.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.17.1 diff --git a/disk/part_dos.c b/disk/part_dos.c index 3b79b9b1b8..2c4ad0b6ba 100644 --- a/disk/part_dos.c +++ b/disk/part_dos.c @@ -302,13 +302,13 @@ static int part_get_info_extended(struct blk_desc *dev_desc, return -1; } -void part_print_dos(struct blk_desc *dev_desc) +static void part_print_dos(struct blk_desc *dev_desc) { printf("Part\tStart Sector\tNum Sectors\tUUID\t\tType\n"); print_partition_extended(dev_desc, 0, 0, 1, 0); } -int part_get_info_dos(struct blk_desc *dev_desc, int part, +static int part_get_info_dos(struct blk_desc *dev_desc, int part, struct disk_partition *info) { return part_get_info_extended(dev_desc, 0, 0, 1, part, info, 0);