Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp771879ybt; Mon, 6 Jul 2020 23:17:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyXgdTC5Zj19WUzHxuRkyODel7LXbxUouYQrVbr8UPOa7bMv/F7XOBRJQVAB0IzWbYIFmpp X-Received: by 2002:a17:906:a0c8:: with SMTP id bh8mr47824099ejb.190.1594102620202; Mon, 06 Jul 2020 23:17:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594102620; cv=none; d=google.com; s=arc-20160816; b=PlGyT9qCVAKUWQDx7qCFvh4L1JITWET9/6aXSSFB4pEvGIFbh3XotgBJhQr3q+91sq z4DaUAgAu1e635UmgjjMzxrtwY0alF9kAdi0HYgozV/cmTOWdKJ/bP8uF2v5QLqIGRyA FzpIx2TCVLQBNDQsobBMvNDxv9mOvFk61nJuZRKFksnWZeyyZBlmeh1CDxJfZ11AXUVe 4RLpjOeqYlA8RBWSD7OK9BGmCf0ImziIDCaCX3XQeTKrN74q0fhGCq1Zg+Nd77tDyPHR tIuL/hw8G7SUAwd/jG4NazL3+uCGbeb3fC0RyZs3wBu4Eug+ynUPjElVIwhXLxhOoKll 8osg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=UxcxAflluULYuXogxwLoybXNkw+hdBtQPs9BV8cJJlY=; b=CS820STEgCdEtWNb3ys/W0+LJCVh4eZkR2lWaiiamFAZYlkFtQrU6ugrPL8bjnonb3 yoIOvrZ9IGlfP8QDxzG9n2PZSKjBvXvm7aKIfK4foKhONNmDFHIJ6PytgZ2+CaA64Pwy E5dVpx6XZq+G0tAWz0keQMWTGMkQgUNarVaLDSql1LxZmNact/5BRIJCZJoKZ+y9lsEY Pfi8jkedFXM2K0J9Cz0RtPeRh/VWxVHwhsNLiTdTemeStNu9YFKTTHuS550jkNUu/20k sSegw10XPyGFZk+rpxM7KaDCCtjhwwhQCwTopPLDG/5c94Mt+q6bBUBAB2aqmrTQQBQh wzfw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g23si14096856edr.1.2020.07.06.23.16.33; Mon, 06 Jul 2020 23:17:00 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726825AbgGGGQV (ORCPT + 99 others); Tue, 7 Jul 2020 02:16:21 -0400 Received: from mleia.com ([178.79.152.223]:40318 "EHLO mail.mleia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726434AbgGGGQV (ORCPT ); Tue, 7 Jul 2020 02:16:21 -0400 Received: from mail.mleia.com (localhost [127.0.0.1]) by mail.mleia.com (Postfix) with ESMTP id 8251B3F31DE; Tue, 7 Jul 2020 06:16:19 +0000 (UTC) Subject: Re: [PATCH 12/32] usb: gadget: udc: lpc32xx_udc: Staticify 2 local functions To: Lee Jones , gregkh@linuxfoundation.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, Felipe Balbi , Sylvain Lemieux , Kevin Wells , Roland Stigge References: <20200706133341.476881-1-lee.jones@linaro.org> <20200706133341.476881-13-lee.jones@linaro.org> From: Vladimir Zapolskiy Message-ID: Date: Tue, 7 Jul 2020 09:16:18 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 MIME-Version: 1.0 In-Reply-To: <20200706133341.476881-13-lee.jones@linaro.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-49551924 X-CRM114-CacheID: sfid-20200707_061619_555379_BBAB11ED X-CRM114-Status: UNSURE ( 8.88 ) X-CRM114-Notice: Please train this message. Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7/6/20 4:33 PM, Lee Jones wrote: > These are not used outside of this sourcefile, so make them static. > > Fixes the following W=1 kernel build warning(s): > > drivers/usb/gadget/udc/lpc32xx_udc.c:1929:6: warning: no previous prototype for ‘udc_send_in_zlp’ [-Wmissing-prototypes] > 1929 | void udc_send_in_zlp(struct lpc32xx_udc *udc, struct lpc32xx_ep *ep) > | ^~~~~~~~~~~~~~~ > drivers/usb/gadget/udc/lpc32xx_udc.c:1943:6: warning: no previous prototype for ‘udc_handle_eps’ [-Wmissing-prototypes] > 1943 | void udc_handle_eps(struct lpc32xx_udc *udc, struct lpc32xx_ep *ep) > | ^~~~~~~~~~~~~~ > > Cc: Felipe Balbi > Cc: Vladimir Zapolskiy > Cc: Sylvain Lemieux > Cc: Kevin Wells > Cc: Roland Stigge > Signed-off-by: Lee Jones Acked-by: Vladimir Zapolskiy -- Best wishes, Vladimir