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=-7.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no 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 9ED41C433E0 for ; Wed, 29 Jul 2020 16:02:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 7BD56207E8 for ; Wed, 29 Jul 2020 16:02:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1596038569; bh=LqQvmwMfqSOD3tms/ujMxK4IhqLryiypuOzrZpQdx7M=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=JKdVZKTC0M8/5v1qXcqN9nI9AAsKu0oBFXu4+dhOe3ax0YTEAumbjwgxzii14hHRb 3N3/GnYMlcwZLaNEnzO50TQqzgQLMA5PvVt2pUHiIeSqvpTFD7lRI+w8EArgV/scKN V4Bv5bsXjt2Ijv6u2VMjrtE0Pa9QZ6jpJ5YpVCw4= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726824AbgG2QCs (ORCPT ); Wed, 29 Jul 2020 12:02:48 -0400 Received: from mail.kernel.org ([198.145.29.99]:45376 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726341AbgG2QCr (ORCPT ); Wed, 29 Jul 2020 12:02:47 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id CF87A206D8; Wed, 29 Jul 2020 16:02:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1596038567; bh=LqQvmwMfqSOD3tms/ujMxK4IhqLryiypuOzrZpQdx7M=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=I09Titq3MJvKc8tnz/ZFJPF8YJfKt8DKNyrx1WI3aJ0dBTkulDEIaHqTcydbLXidI RRLR7jfoa5FBJ2rsDzb8lfAqeDluOMB6gPK5+fwdAPjJjOArIpRG7KBhHAXqB42zzc r6i7rHiJv1R8xfqvLoDnZARy28cKtgf9kUTMaP6Q= Date: Wed, 29 Jul 2020 18:02:36 +0200 From: Greg Kroah-Hartman To: Wei Yongjun Cc: Hulk Robot , Oded Gabbay , Arnd Bergmann , Omer Shpigelman , Ofir Bitton , Tomer Tayar , linux-kernel@vger.kernel.org Subject: Re: [PATCH -next] habanalabs: make some functions static Message-ID: <20200729160236.GA3643779@kroah.com> References: <20200729155925.34131-1-weiyongjun1@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200729155925.34131-1-weiyongjun1@huawei.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 29, 2020 at 11:59:25PM +0800, Wei Yongjun wrote: > The sparse tool complains as follows: > > drivers/misc/habanalabs/gaudi/gaudi.c:6275:5: warning: > symbol 'gaudi_ctx_init' was not declared. Should it be static? > drivers/misc/habanalabs/goya/goya.c:5228:5: warning: > symbol 'goya_ctx_init' was not declared. Should it be static? > > Those functions are not used outside of source file, so this > commit marks them static. > > Fixes: a04b7cd97eef ("habanalabs: create internal CB pool") > Reported-by: Hulk Robot > Signed-off-by: Wei Yongjun 0-day already sent this patch in earlier today, sorry. greg k-h