Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp139250pxb; Wed, 4 Nov 2020 17:17:16 -0800 (PST) X-Google-Smtp-Source: ABdhPJzxfb+2YbhvaW/T6wQBBBI9T84w7XVzLWgd3oa5rCILhoAKXLBjX+Sde+n8RdmgDfOBdgN7 X-Received: by 2002:a05:6402:236e:: with SMTP id a14mr109426eda.103.1604539036574; Wed, 04 Nov 2020 17:17:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604539036; cv=none; d=google.com; s=arc-20160816; b=fSWINBUfnYqoRNKY4LpGWE7Pr1UUGChmCLPPQgP/a7n5rFuPAkFzHfJVTdWtwsxWmC wS2BfUqHPq9yBY6SbdmZveUuzFtGvaHiHPFcxb1aCco9H2L20+lDzzoX574H6NZVWZqD rFd6u5SxLYs1YdNFsCw12zWdTTy5+YAgvbRRcuBGGpZXf2n8YLYS2cbIeB4ZbUzXpI35 5hpw6EXajmeLi7WNz9rIOnW7OipHuZj6NPoqyxp+LyrlIfUheGrxXYB8z6/gMhXyiOfM f3bHJCTr+f4Rn2ij+Plltr0lJJyiYMSgExfHUoPjQQJNE+qYCDOcmHKTxpXPuX4f9+M4 oPiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=xSLrFShdIRGu2Z0l5VTYddY/Kvq8FZAdgHuY+BxUcAw=; b=LaRu1R6xnylGHkNmd0QO3m0UsN1EUQvmBLA8T6b9RZ7OI35UQJrPyQUSG6FmJL/Aau Io3qiPok06dCtPyyb8IKMUdkSKkKBVXagLwJfaSpOwcvHw19WEqi6+D0ayGUNlk7Ujgb zrJrIt2fwVWFy7lA2wN8K69riXfv/gDmV7zQkamxrgXP3RoDhXvQTT3N6H+ZV+qsaY7Y rM6BrDRZfaFqqPcV3zfEvd2GQAUwzepwXL2itHWdO0ct7h3SP7WjGfcO+u/vuidnRmz/ 7aGH9DdtHna7lrrT/ZLowDotGL/n/p6xXlQ5p9MmI2Gv36aIT2vZDtVYOyC0F12TtKfr sAmg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=uXVhNdK2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o11si65925edz.483.2020.11.04.17.16.54; Wed, 04 Nov 2020 17:17:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=uXVhNdK2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731712AbgKDTgw (ORCPT + 99 others); Wed, 4 Nov 2020 14:36:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37662 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731671AbgKDTgu (ORCPT ); Wed, 4 Nov 2020 14:36:50 -0500 Received: from mail-wm1-x342.google.com (mail-wm1-x342.google.com [IPv6:2a00:1450:4864:20::342]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 76CEFC0613D3 for ; Wed, 4 Nov 2020 11:36:48 -0800 (PST) Received: by mail-wm1-x342.google.com with SMTP id h62so3434900wme.3 for ; Wed, 04 Nov 2020 11:36:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=xSLrFShdIRGu2Z0l5VTYddY/Kvq8FZAdgHuY+BxUcAw=; b=uXVhNdK21Wddb2jNKS1C3MSNolc+cUuO83JkVAMzjCfcEK2rXqEZm/X1pgBv2scGnk +zTIi5I0E4UUj/SWhQfmDr4tTemUDgmD+vqMldqbc5VWlLHJw2VznOLL6cQQ2riRvOjG Oz3R1W52EjItgciKCtJDyJKyo05tCZUvncTXKz9jxULN2eOCWOXSpg/nn1SsPqc+TKi2 XZwrXq8AJJjdtvwzfzghNkV7WmH/DZmphK+Ic4G2O2tM2X5o1FnlnsBABertwo8bI23y X6giOXaKIJ33PQGAg6tdVHGZfQVQhSn2ryN1HGPgk+bdVsnkAZG+Q6LnLqFwBGp34hPA vlUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=xSLrFShdIRGu2Z0l5VTYddY/Kvq8FZAdgHuY+BxUcAw=; b=Wxqt5SUkeL2oZ/b85L1x6HmOSTnEY8MQ/K2QA15cG4Mi9AjxUDtJ8nEAvcwJLs/qtl z8Vsr82BOywmWFqqT3DlS8D1um5ElAKevDa2gkxbIpjDjrFIDtcmj4uCCovsk41s1Czd YzdxC4OxJcxJ7IV3ae5cCT7fQwJsJIBxypj2awjDGCL9ZH5i8y//UQtkIWS2dfgO+K2v zWTzFW8NBzm2XBYntUgFTN1fHsda7MZpfNKNZLxsCMqPinwsv3GU9PeH1D4HPAeF8M1Y v6MZwDioaiVzGA/pEV5DzpPGSPwNp193m90LuNA5IbBd7lgk17hflhg0ZiJGj+BLFA9K Yp7g== X-Gm-Message-State: AOAM533VsdnxOK51kyD3JIOBP4RiRz1lTQDuNYIsXzeo8jEky47nm6kl FkZWzzur5NB2Oyg5WETe5vDGDg== X-Received: by 2002:a1c:f312:: with SMTP id q18mr6307261wmq.30.1604518607199; Wed, 04 Nov 2020 11:36:47 -0800 (PST) Received: from dell.default ([91.110.221.242]) by smtp.gmail.com with ESMTPSA id x10sm4034444wrp.62.2020.11.04.11.36.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Nov 2020 11:36:46 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Michael Ellerman , Benjamin Herrenschmidt , Paul Mackerras , Greg Kroah-Hartman , Jiri Slaby , linuxppc-dev@lists.ozlabs.org Subject: [PATCH 33/36] tty: hvc: hvc_opal: Staticify function invoked by reference Date: Wed, 4 Nov 2020 19:35:46 +0000 Message-Id: <20201104193549.4026187-34-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201104193549.4026187-1-lee.jones@linaro.org> References: <20201104193549.4026187-1-lee.jones@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/tty/hvc/hvc_opal.c:106:6: warning: no previous prototype for ‘hvc_opal_hvsi_hangup’ [-Wmissing-prototypes] Cc: Michael Ellerman Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: Greg Kroah-Hartman Cc: Jiri Slaby Cc: linuxppc-dev@lists.ozlabs.org Signed-off-by: Lee Jones --- drivers/tty/hvc/hvc_opal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/hvc/hvc_opal.c b/drivers/tty/hvc/hvc_opal.c index c66412566efce..056ae21a51214 100644 --- a/drivers/tty/hvc/hvc_opal.c +++ b/drivers/tty/hvc/hvc_opal.c @@ -103,7 +103,7 @@ static void hvc_opal_hvsi_close(struct hvc_struct *hp, int data) notifier_del_irq(hp, data); } -void hvc_opal_hvsi_hangup(struct hvc_struct *hp, int data) +static void hvc_opal_hvsi_hangup(struct hvc_struct *hp, int data) { struct hvc_opal_priv *pv = hvc_opal_privs[hp->vtermno]; -- 2.25.1