Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp128066pxb; Wed, 4 Nov 2020 16:55:30 -0800 (PST) X-Google-Smtp-Source: ABdhPJxSwlOAcnkXpDucgic9+bZXSSVS0FnzJe0LY7iqOdR3VzP/1ChHGdr/e5sD7xLkx9+vHXn/ X-Received: by 2002:a17:906:d94:: with SMTP id m20mr729748eji.279.1604537730666; Wed, 04 Nov 2020 16:55:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604537730; cv=none; d=google.com; s=arc-20160816; b=01uJ+WXLGhaZhWv/YyjEs9Iuuldy24J975Gy42EBRQkLp0TQhk8ZarCIMkB6V4zTeQ QIfewxRY7Bn4y4BF+y4hYt3jlG8DOlxlSMt2z0ladueAMZtdvYoLL3dXQeO0RR3lOpoX rmHbE8JCswFYAjcEhyZ+M4bxLGbhUpglFT9k+KqqNxqJm+C3CI/DhMjreg3gAalWUxIE eVOAEx5j1liX94QwzjiMqkK16q8lsuVJCQM+++z8T/CKbyEQ9lFCyS6QZNhRUKhLru6b jqdnvdjditgSHq6nMbAlH7mCjdvQIk/VwLYCigZaEJXzEgIh7l7BZYe4bH7iwYFWbZ2T U8ow== 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=zxBTDWs68qW2IKMyEc77XRI2Jnwwebqtmwz2IV/xXfE=; b=XdId8wijazUF/exLnHST1n5Dbt+yVUp64h0vkoLDprkQrvOt6tX0uviyaH5qi8I6iE PKP1bmKlXtiXbj4X3cJxsWcufJ7Cy+1+Af2WilT3gLaIlQO3AJE+ml6wMDAydmI4lQh9 0DypXtKduzQmKBDKk/Ts9w1vv/dtV2ZgiiM6IwzkKQIDS8kq78jDhgnuy8SqA5OD5voj M2Ex7ObJU17IbjAv40fmd1MkJn+XXEV041Xcd7aSYFqHySH7vOg1j4+xuqdn2tYzekM8 3o9UgJmAX3fcukPC221CYHda/T55GYutMBOWJ3BkHqftBAHFSDFYDJmBPL3iN1c/7ew4 Snig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=lBGC22hr; 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 r8si10139edi.606.2020.11.04.16.55.07; Wed, 04 Nov 2020 16:55:30 -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=lBGC22hr; 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 S1731706AbgKDThK (ORCPT + 99 others); Wed, 4 Nov 2020 14:37:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37638 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731613AbgKDTgr (ORCPT ); Wed, 4 Nov 2020 14:36:47 -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 3ED8FC0613D3 for ; Wed, 4 Nov 2020 11:36:47 -0800 (PST) Received: by mail-wm1-x342.google.com with SMTP id 23so2546150wmg.1 for ; Wed, 04 Nov 2020 11:36:47 -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=zxBTDWs68qW2IKMyEc77XRI2Jnwwebqtmwz2IV/xXfE=; b=lBGC22hrQ40oIvqXRErxf0OYpYRByN+EoViOk/xvc/ZcFLq19660h8+8xXVsiu9vud +/CliTSp2aP8RZ+UvcpoXEY5DopYhvMr2BCPDjYw9pF6/ehngNnezDgWTPiCaGK105bv rGlbQkZVvkB7ujPAREYsSgjeYk7omOrHtr6mftUmSAYQJB/i6OIRHZrNiqGPB4gh90R/ XGzS0cShqv30RMA3wQJeeugIKOe1F+nhFGAb9p2Y71kCD+yk/jpQ2LBCMLqnPxSeihKH RtOfR3/LIkVTYtur3KydW9GjMbmy6l46Tl6UvV4MTu+bj0+tVtHSsLhjGvQu/OOhLgGx fFGw== 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=zxBTDWs68qW2IKMyEc77XRI2Jnwwebqtmwz2IV/xXfE=; b=WV5Yffu58n2qpHbPVdxkCkAXoFgdOL/cJChUhKym7qSM0/QryYPoTg5NVtTxozjoz2 ZAvixVIhcPaZCjKE9/GED2VafXx18UU+34pZMPwsm/KvkNg2eGfkXtHgEEu9i1uTtTMH mIovSsKbbIBRuBlsWWVZSdHduXi1TPn0l9j2ul8t7D3yawyXDvSo8+lW2LHpAjs0mrMs dEPJ8MRPRwCSCYzwunXD2kY2i4PZ9DWPGKiwL5Ti+ml/G172ExAE/oBwSSCCWLZ9R94s ypdQa7E3T51VKD/J8nJ+o+b0CLdJvA5Hmq/zK871e6U/QgXBGw4lZDcAHamkHZHNEwuU qqTA== X-Gm-Message-State: AOAM5319XJzPqSd4zT6yfp9ZEBZ5lM9QJPd2XB4TUYiQzvudqJvzugT3 JQ1ZSAcbI/IMcF01P3wM8HJBeA== X-Received: by 2002:a1c:1f91:: with SMTP id f139mr6057124wmf.187.1604518605931; Wed, 04 Nov 2020 11:36:45 -0800 (PST) Received: from dell.default ([91.110.221.242]) by smtp.gmail.com with ESMTPSA id x10sm4034444wrp.62.2020.11.04.11.36.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Nov 2020 11:36:45 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Greg Kroah-Hartman , Jiri Slaby , linuxppc-dev@lists.ozlabs.org Subject: [PATCH 32/36] tty: hvc: hvc_vio: Staticify function invoked only by reference Date: Wed, 4 Nov 2020 19:35:45 +0000 Message-Id: <20201104193549.4026187-33-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_vio.c:181:6: warning: no previous prototype for ‘hvterm_hvsi_hangup’ [-Wmissing-prototypes] 181 | void hvterm_hvsi_hangup(struct hvc_struct *hp, int data) | ^~~~~~~~~~~~~~~~~~ Cc: Greg Kroah-Hartman Cc: Jiri Slaby Cc: linuxppc-dev@lists.ozlabs.org Signed-off-by: Lee Jones --- drivers/tty/hvc/hvc_vio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/hvc/hvc_vio.c b/drivers/tty/hvc/hvc_vio.c index 7af54d6ed5b84..798f27f40cc2d 100644 --- a/drivers/tty/hvc/hvc_vio.c +++ b/drivers/tty/hvc/hvc_vio.c @@ -178,7 +178,7 @@ static void hvterm_hvsi_close(struct hvc_struct *hp, int data) notifier_del_irq(hp, data); } -void hvterm_hvsi_hangup(struct hvc_struct *hp, int data) +static void hvterm_hvsi_hangup(struct hvc_struct *hp, int data) { struct hvterm_priv *pv = hvterm_privs[hp->vtermno]; -- 2.25.1