From patchwork Thu Sep 28 03:23:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: KaiLong Wang X-Patchwork-Id: 145719 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:cae8:0:b0:403:3b70:6f57 with SMTP id r8csp3045607vqu; Wed, 27 Sep 2023 20:24:55 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGVoHF/YUzi8aVf0EZdOeGz6xQFesLWBu9MZ6uORDnQl3n8r/+upXISmctVxJnXLOmQQWOT X-Received: by 2002:a17:90a:9b8b:b0:261:685:95b6 with SMTP id g11-20020a17090a9b8b00b00261068595b6mr59130pjp.13.1695871494971; Wed, 27 Sep 2023 20:24:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695871494; cv=none; d=google.com; s=arc-20160816; b=0iY3F5Ux1Jb+EWIhfcL5mUj44EAB4OQxC1GWh2rQNfdwDezq4cIxNkmq0pSwy5ig17 +FU69SyPoSdz3ju+/Em0GdeI99CbnSBFWbVO2MS6v3uX/Fv2GdGS8kLruUjhwWfaQq5N iunAMO+MJZLR8BguL/f1K50Il8u+ExP+I7ehb4A00mDL36kbH8jBV3/Ra3qsog9LxtEq xG1TjwIHxguZtey54xSm5+oIIAFQ75SkjyuzhFySQ8d6EDLZBKbEgSASCC2eolnEai3G TjMyYv68S5kBvEAyAKiqvxf7W0b+209jgljEXD4yieBPlT5yopLMdQ1x43oHq67hYQ+0 lTyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:mime-version :content-transfer-encoding:subject:cc:to:from:date; bh=gJKw8DPj1XIYPITWCVtm/Fy/uzGF1jL5LdeztziwdOE=; fh=0nFGbNfzY3gPck/tpjNGnbeoqAunzXtdRAO5si4k0U4=; b=mD3L/Oc2JjpolaGDUc58/2ssvUp/VZOvhx0wj5I0Qh/jfWLc8KJT2KvnC0P/dNYvkM jjdYiUpoIzEOfLHl4f/U5LOnHGEHaZm6iqRxJ7jhtkGTfDoxzEbDmmWAOt3B9dCCicZv RUxAg0Wq8VZ123g6IzT5sl9NRGwyfDKMALXyJVWd9Nq82Zb0PXheM3tGgkRc71Kk0MT8 91VGdd4nK9zvhMPMRZvKISyW2vecuwALdkAepn7PO6v7k8EsVdpM3b7UDovSQxpQPM8M 5ooCn6iK4UFnO7tQhTfu45qhLpvP0achLJiCTjX5Xzfv6fcmI+OLsm/xhoVVCk9CkWUY XCRw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id ls14-20020a17090b350e00b002775281b839si11054507pjb.39.2023.09.27.20.24.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 20:24:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 206F481B17EA; Wed, 27 Sep 2023 20:24:52 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230084AbjI1DYc (ORCPT + 20 others); Wed, 27 Sep 2023 23:24:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53858 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229437AbjI1DYa (ORCPT ); Wed, 27 Sep 2023 23:24:30 -0400 Received: from jari.cn (unknown [218.92.28.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 9461699 for ; Wed, 27 Sep 2023 20:24:28 -0700 (PDT) Received: from wangkailong$jari.cn ( [182.148.12.64] ) by ajax-webmail-localhost.localdomain (Coremail) ; Thu, 28 Sep 2023 11:23:09 +0800 (GMT+08:00) X-Originating-IP: [182.148.12.64] Date: Thu, 28 Sep 2023 11:23:09 +0800 (GMT+08:00) X-CM-HeaderCharset: UTF-8 From: "KaiLong Wang" To: terrelln@fb.com Cc: linux-kernel@vger.kernel.org Subject: [PATCH] lib: zstd: Clean up errors in zstd_ddict.h X-Priority: 3 X-Mailer: Coremail Webmail Server Version 2023.1-cmXT6 build 20230419(ff23bf83) Copyright (c) 2002-2023 www.mailtech.cn mispb-4e503810-ca60-4ec8-a188-7102c18937cf-zhkzyfz.cn MIME-Version: 1.0 Message-ID: <2d0d3dda.8af.18ad9cfcf71.Coremail.wangkailong@jari.cn> X-Coremail-Locale: zh_CN X-CM-TRANSID: AQAAfwDnhD+d8RRlQ4K+AA--.600W X-CM-SenderInfo: 5zdqwypdlo00nj6mt2flof0/1tbiAQAIB2UT+K8AFwANs1 X-Coremail-Antispam: 1Ur529EdanIXcx71UUUUU7IcSsGvfJ3iIAIbVAYjsxI4VWxJw CS07vEb4IE77IF4wCS07vE1I0E4x80FVAKz4kxMIAIbVAFxVCaYxvI4VCIwcAKzIAtYxBI daVFxhVjvjDU= X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Wed, 27 Sep 2023 20:24:52 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778250148392782164 X-GMAIL-MSGID: 1778250148392782164 Fix the following errors reported by checkpatch: ERROR: "foo* bar" should be "foo *bar" Signed-off-by: KaiLong Wang --- lib/zstd/decompress/zstd_ddict.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/zstd/decompress/zstd_ddict.h b/lib/zstd/decompress/zstd_ddict.h index 8c1a79d666f8..8fd15fca3724 100644 --- a/lib/zstd/decompress/zstd_ddict.h +++ b/lib/zstd/decompress/zstd_ddict.h @@ -34,10 +34,10 @@ * ZSTD_getDictID_fromDict() */ -const void* ZSTD_DDict_dictContent(const ZSTD_DDict* ddict); -size_t ZSTD_DDict_dictSize(const ZSTD_DDict* ddict); +const void *ZSTD_DDict_dictContent(const ZSTD_DDict *ddict); +size_t ZSTD_DDict_dictSize(const ZSTD_DDict *ddict); -void ZSTD_copyDDictParameters(ZSTD_DCtx* dctx, const ZSTD_DDict* ddict); +void ZSTD_copyDDictParameters(ZSTD_DCtx *dctx, const ZSTD_DDict *ddict);