Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2405189rwd; Wed, 14 Jun 2023 02:15:52 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5zujOvT18XsSgWogaPKAMlfUjreqzdt88WUhdz7YyW3pWirem6npmIUlesDZpvArLMR3mp X-Received: by 2002:a17:907:3da7:b0:974:c32c:b484 with SMTP id he39-20020a1709073da700b00974c32cb484mr17248416ejc.72.1686734152548; Wed, 14 Jun 2023 02:15:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686734152; cv=none; d=google.com; s=arc-20160816; b=W8VOCo9jnFEt3Xq1lZS0U6dm3IJIDXKqdTCgW7j42RTPTmzfcBDundB6zzbWBukWrJ 9to3cJoSoOIwo2H+81lrlbKuAJyanBgq/nSDrC+cSMEz0xnXpR6BCrAEcbFOgCeZjm81 YlaekI46WN/t6F7TlZiuWM3MaWdr+z4YShej8fEA917M0vaQVmiSJuy/JvKXgYlr9t5s xlSMQkRJbpmqDtnRq85rx0WTv3IvkKM1PEnVKxrqofCevQF3iaZlox+3MuDH5hCJgZFc xS8zpoZCjZ8M3FsIP+2gpFjWLUq/vZmjc+mZjNTmg0vcnv3bDjqHp4pbay/YUugZZgt5 ivLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:message-id:user-agent :references:in-reply-to:subject:cc:to:from:date:mime-version :dkim-signature; bh=oZ8u1ZjG6ithQnmRhJ/Ie8qtzCj5nDm+Ek98sOq0FGo=; b=RAuIUn2Jfov6p9+LcvC0LzrDKdYQ8ov5Ym4zL/4aVFADCl2slaNZH3DWoBAmr8qPEP VVAJnXjDi3s8JFL9SIKv7igeOs6YuuThT5WHYWetbA1H7rsJVm+Ersmkp9+QqOJoslyJ tiWOZKAFySQaScu/YCBRoskmImjTmO8+cfxu/5wfC2lYKYV/8HXiA0jyI6WNF6DFGMxW KyLLAiBeamDFRTLpwUSDAB4KQuUQzp2TA2nI4jTjOBed0I6Kd7bumOMXeng87sBQ3E0/ gbyVucDw7eShphpKvb6E23d/2JcJWmBQikptuuL2yvd92VBUpQORXoMHNVoJzhqaVTuW 80IA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (bad version) header.i=@208.org header.s=dkim header.b=vntr5gEJ; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gl16-20020a170906e0d000b0096f8b640d66si4206324ejb.104.2023.06.14.02.15.25; Wed, 14 Jun 2023 02:15:52 -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=neutral (bad version) header.i=@208.org header.s=dkim header.b=vntr5gEJ; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243554AbjFNI34 (ORCPT + 99 others); Wed, 14 Jun 2023 04:29:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55988 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243628AbjFNI3t (ORCPT ); Wed, 14 Jun 2023 04:29:49 -0400 Received: from mail.208.org (unknown [183.242.55.162]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AAF0C11F for ; Wed, 14 Jun 2023 01:29:48 -0700 (PDT) Received: from mail.208.org (email.208.org [127.0.0.1]) by mail.208.org (Postfix) with ESMTP id 4QgzB12xxLzBQgny for ; Wed, 14 Jun 2023 16:29:45 +0800 (CST) Authentication-Results: mail.208.org (amavisd-new); dkim=pass reason="pass (just generated, assumed good)" header.d=208.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=208.org; h= content-transfer-encoding:content-type:message-id:user-agent :references:in-reply-to:subject:to:from:date:mime-version; s= dkim; t=1686731385; x=1689323386; bh=+1CZbpCrooYnxpWHG3ifhgX0usn zkdJe1tOdGeUaLK0=; b=vntr5gEJOOfA/q8gGNcFA19BCt7GwwuLXojwjbWSlQC ZqUGtuVGkxPBdDkzPO4f0CCRz/X7PoBZQoHP/N5lNL6Fe6dXYnuZQWcBVNyFRpmV DkfdXt1oCFHf0bMtg5SgHgbq3efbj9sI+lUH7E07IW+XhAbEGYeL4HM6nxAIFJTF Mub50Q3KaKFI9DOiyJZ3sKHbMzrVQhRcsQhkUZ513w8icU0xtG6/dJiU2sRS2/a1 oFe/rrOnOw8TevYsUbe0tsD1B/OGxtn8dkd84Xz2FGvaw4Aeg3ssRuoZQkYcS8yj B6PGHlpfkO+WDeWthDU2f/Hpcivy1WjchtrAfNFOZmg== X-Virus-Scanned: amavisd-new at mail.208.org Received: from mail.208.org ([127.0.0.1]) by mail.208.org (mail.208.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id pJkeJ_4SVFiO for ; Wed, 14 Jun 2023 16:29:45 +0800 (CST) Received: from localhost (email.208.org [127.0.0.1]) by mail.208.org (Postfix) with ESMTPSA id 4QgzB04kc1zBJJCt; Wed, 14 Jun 2023 16:29:44 +0800 (CST) MIME-Version: 1.0 Date: Wed, 14 Jun 2023 16:29:44 +0800 From: baomingtong001@208suo.com To: ast@kernel.org, daniel@iogearbox.net, andrii@kernel.org, martin.lau@linux.dev, song@kernel.org, yhs@fb.com, john.fastabend@gmail.com, kpsingh@kernel.org, sdf@google.com, haoluo@google.com, jolsa@kernel.org Cc: bpf@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] libbpf: zip: Remove unneeded semicolon from zip_archive_open() In-Reply-To: <20230614082626.45467-1-luojianhong@cdjrlc.com> References: <20230614082626.45467-1-luojianhong@cdjrlc.com> User-Agent: Roundcube Webmail Message-ID: X-Sender: baomingtong001@208suo.com Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,RDNS_NONE,SPF_HELO_FAIL,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=no 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 ./tools/lib/bpf/zip.c:226:2-3: Unneeded semicolon Signed-off-by: Mingtong Bao --- tools/lib/bpf/zip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/lib/bpf/zip.c b/tools/lib/bpf/zip.c index 3f26d629b2b4..88c376a8348d 100644 --- a/tools/lib/bpf/zip.c +++ b/tools/lib/bpf/zip.c @@ -223,7 +223,7 @@ struct zip_archive *zip_archive_open(const char *path) if (!archive) { munmap(data, size); return ERR_PTR(-ENOMEM); - }; + } archive->data = data; archive->size = size;