Message ID | 20201223125515.28865-5-m.szyprowski@samsung.com |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp6172657jai; Wed, 23 Dec 2020 04:56:39 -0800 (PST) X-Google-Smtp-Source: ABdhPJwjmhf2K3z14Ekgmu0cGVQwJpLjSEtUYDHPQpwQFbf0M3Wak5IlaKWa+Iuin7+HHYwAHKRR X-Received: by 2002:a17:906:ec9:: with SMTP id u9mr24531135eji.400.1608728198983; Wed, 23 Dec 2020 04:56:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608728198; cv=none; d=google.com; s=arc-20160816; b=LZ2fyx3no14Fti4vpS0ckRpoCrrnTQRc4uBPBt9/0eD5J2apD4Eb+CgSM4ZLl0kAn9 AQji1kX1PwFGQXaTMAboU3+FzI/DA/Y46LxB7HQYCMp6gmwauKu5GToOkEusEfUy6qV0 LjhOpNL5+TjY6SuAArDEL/0Hezs++ZleHBrwZJYdWRzyVRcLplVAkzWrTaoGagS3jZn6 Qerw5BG17bYsjQTRLxeuB+JLbtMakc6TSwnkmR2UPEWIb1bJaqHH+J2iSm0M/tcynLNf S1tcIAZgaTUAG4tWEOAq30w0Ybh0+JjtCAntpDsmD8ZasG8h0up/HsRgjNky47xkwTSk htbg== 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=xE0S9RfCE1H9EAXs9WGEK503Peixvwgc+pRYXfWhgIWnusaNc1YPFX/YA8YiPSKky1 O7E67lQeLzIZg0lVBUDp/FP9ryJtYvQjdCrRL9qln2Bl8WL6pZkVXdZ3b8zznLNxchZF rCKidGgc5mzCLjxHvs/I6M9FL98fb8bN3pB81rKZArmdhR5stC3IR8ISur24K58cGJkp +N90kyKuCCLux90wQjHLOWelyrAOXXC6VH8zqdw5T+Bjlf6rvt5+BYcZto1b4l5gnZVT uR4SCoLAY4WZ9MzjBqFiL4gx9CtBz8QiuaqX4L72INsLwWhU0wIOqSXYNlfR8Y0dn4hn vbwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=m2sWZOPT; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 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: <u-boot-bounces@lists.denx.de> Received: from phobos.denx.de (phobos.denx.de. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id dn5si12453790ejc.533.2020.12.23.04.56.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Dec 2020 04:56:38 -0800 (PST) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=m2sWZOPT; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 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 522178279A; Wed, 23 Dec 2020 13:55:56 +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="m2sWZOPT"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 60F058273F; Wed, 23 Dec 2020 13:55:44 +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 mailout2.w1.samsung.com (mailout2.w1.samsung.com [210.118.77.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 2B31882738 for <u-boot@lists.denx.de>; Wed, 23 Dec 2020 13:55:36 +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 mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20201223125535euoutp02de4ab6c596cc801ef0080590e0e2635a~TWbdIjj4H3096730967euoutp02Q for <u-boot@lists.denx.de>; Wed, 23 Dec 2020 12:55:35 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20201223125535euoutp02de4ab6c596cc801ef0080590e0e2635a~TWbdIjj4H3096730967euoutp02Q DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1608728135; bh=QVv/OpDO86vbjc8WTV2cueIe9E1CfauEIcaW529qV2w=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=m2sWZOPTVv53C/Gh4EvNdHHagx15iLMGOwAEQCPZkGsJgLHOiUMNCyw1TPjho6iDJ R0dk+2FJ6d3l0R+h3jNt7MS4a9QRUYH+t/4uWnCAeXGTjQOjreejtAraJeI8lpL+qc Ci7WCrotS/72SAk2L7WxvnAnbWQ4VLCWldTzhXqs= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20201223125535eucas1p2c89eb3c1ece9089b5a416dd78cc88a30~TWbcybJsr3008430084eucas1p23; Wed, 23 Dec 2020 12:55:35 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id 04.79.27958.74E33EF5; Wed, 23 Dec 2020 12:55:35 +0000 (GMT) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20201223125534eucas1p17107d79af8457f52a5536084f9b903b9~TWbccbQ0n1720517205eucas1p1H; Wed, 23 Dec 2020 12:55:34 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20201223125534eusmtrp201f62fe3ae88b0149d1bbfc542b55697~TWbcbrkAB0385303853eusmtrp2c; Wed, 23 Dec 2020 12:55:34 +0000 (GMT) X-AuditID: cbfec7f2-efdff70000006d36-0b-5fe33e47d089 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 09.BC.21957.64E33EF5; Wed, 23 Dec 2020 12:55:34 +0000 (GMT) Received: from AMDC2765.digital.local (unknown [106.120.51.73]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20201223125534eusmtip2bfb07673ba2d03dd7cd7a8bb66ba3659~TWbcAvhVR2463824638eusmtip2j; Wed, 23 Dec 2020 12:55:34 +0000 (GMT) From: Marek Szyprowski <m.szyprowski@samsung.com> To: u-boot@lists.denx.de Cc: Marek Szyprowski <m.szyprowski@samsung.com>, Lukasz Majewski <lukma@denx.de>, Simon Glass <sjg@chromium.org>, Heinrich Schuchardt <xypron.glpk@gmx.de>, Jaehoon Chung <jh80.chung@samsung.com>, Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> Subject: [PATCH v3 4/6] disk: dos: make some functions static Date: Wed, 23 Dec 2020 13:55:13 +0100 Message-Id: <20201223125515.28865-5-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20201223125515.28865-1-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrAIsWRmVeSWpSXmKPExsWy7djPc7rudo/jDZ52cVhsnLGe1eLGrzZW i+fvLjNZrD1yl93i25ZtjBZv93ayWxye+oHRgd1jdsNFFo95s06weHz4GOdx9s4ORo++LasY A1ijuGxSUnMyy1KL9O0SuDK27bzCXjCVvWLq3TusDYy/WbsYOTkkBEwkdp5pY+9i5OIQEljB KLH8Ti+U84VR4t3zm4wQzmdGiSu/zzHDtNzYP50JxBYSWM4ocfmGLlxH9+VnLCAJNgFDia63 XWwgtoiAhMSv/qtgk5gF/jFKHPz1EWy5sICtxIY1G8CKWARUJY5t6gbbwAsUv3ltIxvENnmJ 1RsOgMU5Bewkvi3oYAUZJCEwkUPi2ZoJLBBFLhILpz1igrCFJV4d38IOYctI/N85nwmioZlR 4uG5tewQTg/Q3U0zGCGqrCXunPsFtI4D6D5NifW79CHCjhLLlv5kBQlLCPBJ3HgrCBJmBjIn bZvODBHmlehoE4KoVpOYdXwd3NqDFy5BQ8tD4sj/DiZICE1klNg9bw/TBEb5WQjLFjAyrmIU Ty0tzk1PLTbMSy3XK07MLS7NS9dLzs/dxAhMFKf/Hf+0g3Huq496hxiZOBgPMUpwMCuJ8F7i fxwvxJuSWFmVWpQfX1Sak1p8iFGag0VJnHfV7DXxQgLpiSWp2ampBalFMFkmDk6pBiY/c5nW azejlX299J4ZVB5d8bRCsfLnvCtLZCa6rjuh0ZgaElXLtKXA4V/Rh9r3i4v79fzyJ193WTc3 QUrwHvfEBauP8J0+0Hqe/RY744e4nB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x2V9aFdOL Hjs5VLBabZq+ISb2oEZ9tXdudN0zzU5m/QVr+8T0upfumj2Hae4jTuX7F5eHfTzmFezq/PPp K1u9mgLVPabbkxWmiSyqmbn6++eWrkveB83VPKa9u67k9DOQNXu3+BaVlNKjWwqFrS9MCl/5 KdZiU+Qsw5yH5+TPKbEUZyQaajEXFScCAI9UgaDjAgAA X-CMS-MailID: 20201223125534eucas1p17107d79af8457f52a5536084f9b903b9 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20201223125534eucas1p17107d79af8457f52a5536084f9b903b9 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20201223125534eucas1p17107d79af8457f52a5536084f9b903b9 References: <20201223125515.28865-1-m.szyprowski@samsung.com> <CGME20201223125534eucas1p17107d79af8457f52a5536084f9b903b9@eucas1p1.samsung.com> X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.102.3 at phobos.denx.de X-Virus-Status: Clean |
Series |
Add MBR partition table creation and verify command
|
expand
|
On Wed, Dec 23, 2020 at 01:55:13PM +0100, Marek Szyprowski wrote: > Make functions not used outside this file static. > > Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Applied to u-boot/master, thanks! -- Tom
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);
Make functions not used outside this file static. Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> --- disk/part_dos.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.17.1