Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2922625rwd; Fri, 16 Jun 2023 09:50:59 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4dgDq/D6sgRGTlR2vFH+lT+gem5GyF7rLuGZwYhnZu/iwwtPhvzfnP0I6P3h00cc0+UYRP X-Received: by 2002:a17:902:ef8c:b0:1b0:378e:2768 with SMTP id iz12-20020a170902ef8c00b001b0378e2768mr2313614plb.7.1686934259468; Fri, 16 Jun 2023 09:50:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686934259; cv=none; d=google.com; s=arc-20160816; b=aotL0eOjdaG35dSfI/KIcJUf9vGjTxvlbpqT6LrR9RVmwuFaP8j+eTLkqoXVTsjpSF 6x8PRnW0nKK9S7kEAc8qu9Nt4df04GzuQe92/eHZuxWTz3z7Ikm1pCPifineK2fXU+iN 9YhBVDiT0He+qA3dpn2Zhnr6WpZ/oEjSNAS7QahItq295U0s+ftcqAznWuo+OCuuW8td Q52BN7IGL5V+ttwgf7AOM1kDlDFqE6cqLjerMjQcJe8qx9kX3jYvz5KWhcO2ZJ0PNCJh HB3dVSQZxZOrzds6YigXKfixT3nI70q5RKA+wbQOgQsGGnxgfY9omsMYy0cX5+w7fm7l 0aIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=TZ/2cnaprLbI2wNpBmKSE5QmI8fvvyfpUiJJFQ63Lj0=; b=owtbut/2lJqTNYTmJuj7JkzEoyVsMWOmIsy+qpvVKrN1HPPjcsPdlBDfuZrGJTTMMZ rlwPEZyMIcrA2KiaQMiat37F8GQinQQE231nYnZnWmEtvBCrghIwjEXlWAJNtX27HDRF D3jtyWv+WWfWjrSpWs3af2zRuDYG1ZRXfy2QFMrqc3CUYBapNEE79fIAaa5MeQbbJWtE /KovMpRx/LHOilvjPFhXpW9P4YyoXEq2JqruSm7qbn4DYbKaxlRFiK2EISUBFxakKUNs PINWrrm6+19kPmdI07g3XJTJWXLTtNSZbbKrIj//M1ExwWzryMgKHJMHCiYDMXRbHSts G1WQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=pGVfex1a; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q11-20020a170902bd8b00b001ae141947acsi10615597pls.183.2023.06.16.09.50.44; Fri, 16 Jun 2023 09:50:59 -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=@gmail.com header.s=20221208 header.b=pGVfex1a; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231432AbjFPQhD (ORCPT + 99 others); Fri, 16 Jun 2023 12:37:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56180 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245415AbjFPQgx (ORCPT ); Fri, 16 Jun 2023 12:36:53 -0400 Received: from mail-ej1-x636.google.com (mail-ej1-x636.google.com [IPv6:2a00:1450:4864:20::636]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BCE6926BA; Fri, 16 Jun 2023 09:36:43 -0700 (PDT) Received: by mail-ej1-x636.google.com with SMTP id a640c23a62f3a-985fd30ef48so138806966b.2; Fri, 16 Jun 2023 09:36:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1686933402; x=1689525402; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=TZ/2cnaprLbI2wNpBmKSE5QmI8fvvyfpUiJJFQ63Lj0=; b=pGVfex1a1I59pGSmjW/NbaYePvF2g1/jQUZw87Bgt2xKMLoyUsMMv9WgcW7H0BMekw NMzTkKdEwTFtNwCzmwLpo5vkNQHLT8WlgitNiIhN0nVCsdSlKmFmr7mj2iIgvP+u2bq4 TiChMpINy4eL3sF7A7TBJ3ErodvBhbSBELgZ1KvlnNqWUl0Aj32kuga04SRB+kCxka1M aE7BCaahOVO8FfHV+VMoqSkbG9NJ6DqXbFx/M7DIW51aWt7Rb8l60JsdU0JHQNvBfZ2o gcv17ZCOWZBVS11n4T++0CYSAZnLWe187LFPcJkjXNq8BvcUphYeQc+R7uPB+M3F2iKZ 3y5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686933402; x=1689525402; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=TZ/2cnaprLbI2wNpBmKSE5QmI8fvvyfpUiJJFQ63Lj0=; b=BUUnakANFJwbJPEB7DmYjbb7aRDMluvorqLygMaj3Dbb7FK937lZVASncHUAOgvgfl yFW6ZxuEbtX8OzVkMmjOT2/ksHfer0sG2vfTrNiE+sGu9Y7f4dYr3VpCVPvH4bLDxsk+ V5RwUDfliU7DVeyZbOYfEZFyUTI6liRbbydhDmkQNBcXr7JMYrJgV72T7HdlBb4MJWJb u1/CjsJT6wVIvzKT3LYIWSARoS+LwIVmKB/A27r4+RgUyl1XPZuknlujn8J7XRdWe1Sh kLI6VF9JcRvHNkiJZUCU4VJLcuHlIePKr+UUjruFenYdcf1u1tcRTX4rO40c4sfQHl6j 0HPg== X-Gm-Message-State: AC+VfDzigGM5Io5DfyOsl7uf/nYKmSxfNO1LMnFf96hPT8SLK8xnbvqp Zi5jw6Rx0YHObK6zP+A7YmC3XonR6iElBOfoMwmlyxtn6j7YYA== X-Received: by 2002:a17:906:ef0b:b0:94f:29f0:edc0 with SMTP id f11-20020a170906ef0b00b0094f29f0edc0mr2456014ejs.44.1686933402015; Fri, 16 Jun 2023 09:36:42 -0700 (PDT) MIME-Version: 1.0 References: <20230614082626.45467-1-luojianhong@cdjrlc.com> In-Reply-To: From: Andrii Nakryiko Date: Fri, 16 Jun 2023 09:36:30 -0700 Message-ID: Subject: Re: [PATCH] libbpf: zip: Remove unneeded semicolon from zip_archive_open() To: baomingtong001@208suo.com Cc: 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, bpf@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Wed, Jun 14, 2023 at 1:29=E2=80=AFAM wrote: > > ./tools/lib/bpf/zip.c:226:2-3: Unneeded semicolon This is not a very human-readable commit message. Something like Drop unnecessary semicolon, which triggers (presumable coccicheck?) warning= : ./tools/lib/bpf/zip.c:226:2-3: Unneeded semicolon But also this doesn't apply cleanly to bpf-next tree. Please rebase and resend. Also make sure to have [PATCH bpf-next] prefix in email subject. Thanks. > > 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 =3D data; > archive->size =3D size;