From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.2 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5EB40C4741F for ; Thu, 1 Oct 2020 20:51:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2E9D520738 for ; Thu, 1 Oct 2020 20:51:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732829AbgJAUvM (ORCPT ); Thu, 1 Oct 2020 16:51:12 -0400 Received: from mga04.intel.com ([192.55.52.120]:1488 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726606AbgJAUvM (ORCPT ); Thu, 1 Oct 2020 16:51:12 -0400 IronPort-SDR: Q208sxbvBpfAdVKY5VgZAZn8BAo0sL178rB78gaUo4R+D0Nfhu7jg8/K3fqlDQ8haANqhv/L62 0+oV+A58XNFA== X-IronPort-AV: E=McAfee;i="6000,8403,9761"; a="160247674" X-IronPort-AV: E=Sophos;i="5.77,325,1596524400"; d="scan'208";a="160247674" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Oct 2020 13:51:10 -0700 IronPort-SDR: 1WoWD3tSYbFzQBWeDTTaPfvEOu+7ixNbKFfbkUjqGno6QjTOAq4jaTjd3jXSQ7+Ly60CB5l7FW 2VRpEozO+XCA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,325,1596524400"; d="scan'208";a="339703561" Received: from lkp-server02.sh.intel.com (HELO de448af6ea1b) ([10.239.97.151]) by fmsmga004.fm.intel.com with ESMTP; 01 Oct 2020 13:51:08 -0700 Received: from kbuild by de448af6ea1b with local (Exim 4.92) (envelope-from ) id 1kO5Xf-0000kE-FY; Thu, 01 Oct 2020 20:51:07 +0000 Date: Fri, 2 Oct 2020 04:50:49 +0800 From: kernel test robot To: Nick Terrell , Herbert Xu Cc: kbuild-all@lists.01.org, linux-crypto@vger.kernel.org, linux-btrfs@vger.kernel.org, squashfs-devel@lists.sourceforge.net, linux-f2fs-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org, Kernel Team , Nick Terrell , Chris Mason , Petr Malat Subject: [PATCH] lib: zstd: fix semicolon.cocci warnings Message-ID: <20201001205049.GA6920@f58d09cd8e1e> References: <20200930065318.3326526-4-nickrterrell@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200930065318.3326526-4-nickrterrell@gmail.com> X-Patchwork-Hint: ignore User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org From: kernel test robot lib/zstd/compress/zstd_compress.c:3248:24-25: Unneeded semicolon Remove unneeded semicolon. Generated by: scripts/coccinelle/misc/semicolon.cocci CC: Nick Terrell Signed-off-by: kernel test robot --- url: https://github.com/0day-ci/linux/commits/Nick-Terrell/Update-to-zstd-1-4-6/20200930-145157 base: https://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git for-next zstd_compress.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/lib/zstd/compress/zstd_compress.c +++ b/lib/zstd/compress/zstd_compress.c @@ -3245,7 +3245,7 @@ size_t ZSTD_compress(void* dst, size_t d ZSTD_CCtx* cctx = ZSTD_createCCtx(); RETURN_ERROR_IF(!cctx, memory_allocation, "ZSTD_createCCtx failed"); result = ZSTD_compressCCtx(cctx, dst, dstCapacity, src, srcSize, compressionLevel); - ZSTD_freeCCtx(cctx);; + ZSTD_freeCCtx(cctx); return result; }