Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp1431290rwb; Wed, 26 Jul 2023 12:22:14 -0700 (PDT) X-Google-Smtp-Source: APBJJlF2uTxjd7JUvnCx8CPadA2emsdRhAsf8DCSTQI0+GrJkSWXxgKhXwd8Uv4Oml7axgMTdrgX X-Received: by 2002:a17:906:6a16:b0:978:8979:c66c with SMTP id qw22-20020a1709066a1600b009788979c66cmr30908ejc.18.1690399333797; Wed, 26 Jul 2023 12:22:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690399333; cv=none; d=google.com; s=arc-20160816; b=drsFiZFuxX85JIZq3f5l64jhDWPYhLfTuqjtJ2W9lkSq00zD7LwWRkouOwQJzrcEfg taHvJB0rWKqtVcbbhqnKuHGkm1/8s7MoXTjq11rO6UXyCUn4PVKOPrgeWVDqB+6Xkjrw LxJH3CYrQ76/7rYyEiQMnz2ok0C7AJeuoC23codpf9bVmftY+L/ytrwoXHup5PtfNY2n nFv7jLYxzzvnVJvMc3N1TGZIethxEz9+DKeKi2vtuf5MfqBQTG0eWJXMRCWVrFlDZUjy eIS2TZheE2WnZdb3NB6M0ENP9Zni2zpqzyaoLJUL3KGZzDdX3AfGyP7FvMG+Iyq0dfxY TPHg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=GbQoenHKa+neacdcm3RLojGOhzh6q+FYf9tIxmYvQKE=; fh=SE4b/Lm1oAt9HwGVr/qV0/yIw6lWzLM7JQulLgRfQqI=; b=x2qIWV/f1peIEkAJb4UzMwoa72m1rXZvHnJStRjSrIExhOawIyl/lGdu+rFWDN2n9Y ZBKyWD2BextlYl+xgB9w0QGQ1AzZzo8sgr/LxxDPml8+glfNgY3M19JGWjK8oTXnYIwG ypY+JopLowSiBiq12tZpKVBlW6G2j8gSZjgecjYdmH9euNJfkOUvI9CKmgojrMNrpPeT wTOOH2Z7AVjhAzq4CDnKAW0yj6oOl3+UYvexfI6asPZTI6rGuXkdef6Ck6dLyytOej3x 1N3Q4D/A+sbJLkOAX60BvLD2D5YnqVCVtJzjfL2jrbwKIke3jkHI0dvpfstNTr5c9hCw berw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=xuv4rVYd; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ox4-20020a170907100400b0099379d3f91esi10057902ejb.477.2023.07.26.12.21.48; Wed, 26 Jul 2023 12:22:13 -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=@infradead.org header.s=bombadil.20210309 header.b=xuv4rVYd; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231599AbjGZSSI (ORCPT + 99 others); Wed, 26 Jul 2023 14:18:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55948 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229950AbjGZSSF (ORCPT ); Wed, 26 Jul 2023 14:18:05 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AB6CAFE for ; Wed, 26 Jul 2023 11:18:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=GbQoenHKa+neacdcm3RLojGOhzh6q+FYf9tIxmYvQKE=; b=xuv4rVYdoDDsE0XUTPwwP1W1rW vcqZKvgVgqjMGwZpBdy/2ztMDWalyk3Zi2ztrX81ZEjYit430tw6ucLRRG4FQsR5G9leFzuq7YM7O Shnpedd/BGjfaSkJ7so1t7/uR+RjOKkJmuoCsJmIbDGcUsbKqRQI8cFdBE2N2ZpKzAu0J42bwb4ff aTWuNneLbSX3LxwVRZnIunHehYMFFawwXmXXmkwYdAc/B6miQnxPE9icie/FaOWZRqXD6ilJj6j5A QUbfNLwkotLOQafR6P0qPXa0N36KIvoqw4ToJLorXuV7Pe3an6q4qMMqxbb20l3R+gtWD7Jl7D6NW Cn98pwsQ==; Received: from mcgrof by bombadil.infradead.org with local (Exim 4.96 #2 (Red Hat Linux)) id 1qOj5F-00BGJE-1g; Wed, 26 Jul 2023 18:18:01 +0000 Date: Wed, 26 Jul 2023 11:18:01 -0700 From: Luis Chamberlain To: Chen Jiahao Cc: linux-kernel@vger.kernel.org, tj@kernel.org, fweisbec@gmail.com, pmladek@suse.com, rongtao@cestc.cn Subject: Re: [PATCH -next] samples/hw_breakpoint: mark sample_hbp as static Message-ID: References: <20230726101759.2537372-1-chenjiahao16@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230726101759.2537372-1-chenjiahao16@huawei.com> Sender: Luis Chamberlain X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED 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, Jul 26, 2023 at 10:17:59AM +0000, Chen Jiahao wrote: > There is a sparse warning shown as below: > > samples/hw_breakpoint/data_breakpoint.c:24:19: warning: > symbol 'sample_hbp' was not declared. Should it be static? > > Since 'sample_hbp' is only called within data_breakpoint.c, > mark it as static to fix the warning. > > Fixes: 44ee63587dce ("percpu: Add __percpu sparse annotations to hw_breakpoint") > Signed-off-by: Chen Jiahao Thanks, applied and pushed. Luis