Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1258021yba; Thu, 4 Apr 2019 07:19:57 -0700 (PDT) X-Google-Smtp-Source: APXvYqwpy8sLb1r6C599rvbtmSxjUbaY20AwTSl6ENx5GqQjO2EcgrOwWB1pJVfCzGfHSdPNECC1 X-Received: by 2002:a63:5b4b:: with SMTP id l11mr5994993pgm.95.1554387597630; Thu, 04 Apr 2019 07:19:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554387597; cv=none; d=google.com; s=arc-20160816; b=rFcbVbq6gD2nKjlt4KNdRLJguoZUHLcOjoyb6huOHcPuYRZ7LQ/oat/MUkUoi4fEuW ytrEMtYGuBfLqxrAujG96i80bMVTSof8AAukIWejKOJisSHIw76lWD+MPsf4M1LCTcTX Rw9Jq8VUfpP3KhElkIrhy5sOxPbj24tt7X9gNhnjSy/kD+/WW6Tm2B4FN7cahPBlOW67 Ehc6o9CUs2SU5GgSJiZLMZuVZYwntIiSmXrhPHaZqLIDsavxNyJkzmpaPJcbnAZXu5+k nMXi5NTnkuMykIREuQtf/BSJJBa9swhx/b9/iSeW+b/HjehkeklqVw7ZWYsUNSMJ7jGh RPvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=VxB78TCnWzaS5mEnhQhqQt614j0DYPC4NahKj6gUGps=; b=zlWrsVU7MBA4/Yfc6/xEcQsI5VBcb1fX28J4DIh5F2F1sL2Df8RUYAiC3/ccVb50tU ZiAvT2Lfh4vgU9Gskyw2yeAtrmcSqtuHphqaAra2dvPD83YLKmAxLwRh760cI2G5ZKYE 0z8yw4BHMSnVd5E8tDuZT22OBi+keGzqO1fwtjHoyj4fE7HSkjXy58L8k+6tvX1VM0eI e2AcwhRlke24WCdSaMrqic8D5EwsYWCRwp/xAwmKECnrQ4KjcvUj7X+n3kF4DTt2MKqt YAjh2HGaA5shO9q/dqvf9tvqcauzKpvFRZzCQJ72eg+XH623edOybGYFiPz5MIluPbbV M3jg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n11si16410772pgu.562.2019.04.04.07.19.42; Thu, 04 Apr 2019 07:19:57 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728748AbfDDORe (ORCPT + 99 others); Thu, 4 Apr 2019 10:17:34 -0400 Received: from muru.com ([72.249.23.125]:44372 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726269AbfDDORd (ORCPT ); Thu, 4 Apr 2019 10:17:33 -0400 Received: from atomide.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id E886580D4; Thu, 4 Apr 2019 14:17:47 +0000 (UTC) Date: Thu, 4 Apr 2019 07:17:30 -0700 From: Tony Lindgren To: Ladislav Michl Cc: Nathan Chancellor , Daniel Lezcano , Thomas Gleixner , linux-kernel@vger.kernel.org, YueHaibing , Keerthy Subject: Re: [PATCH] clocksource/drivers/timer-ti-dm: Remove omap_dm_timer_set_load_start Message-ID: <20190404141730.GE49658@atomide.com> References: <20190327050126.12064-1-natechancellor@gmail.com> <20190327081142.GA11034@lenoch> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190327081142.GA11034@lenoch> User-Agent: Mutt/1.11.4 (2019-03-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Ladislav Michl [190327 08:12]: > Hello Nathan, > > On Tue, Mar 26, 2019 at 10:01:27PM -0700, Nathan Chancellor wrote: > > Commit 008258d995a6 ("clocksource/drivers/timer-ti-dm: Make > > omap_dm_timer_set_load_start() static") made omap_dm_time_set_load_start > > static because its prototype was not defined in a header. Unfortunately, > > this causes a build warning on multi_v7_defconfig because this function > > is not used anywhere in this translation unit: > > > > drivers/clocksource/timer-ti-dm.c:589:12: error: unused function > > 'omap_dm_timer_set_load_start' [-Werror,-Wunused-function] > > > > In fact, omap_dm_timer_set_load_start hasn't been used anywhere since > > commit f190be7f39a5 ("staging: tidspbridge: remove driver") and the > > prototype was removed in commit 592ea6bd1fad ("clocksource: timer-ti-dm: > > Make unexported functions static"), which is probably where this should > > have happened. > > Alternatively you might want to look at "clocksource: timer-ti-dm: Add event > capture": https://patchwork.kernel.org/patch/10237217/ (it makes use of > function being removed here). It is a part of an attempt to add event capture > for OMAP. Of course I would like this functionality to be implemented, but > as I do not have a time to continue, I cannot really object removing this > function. > > Just in case you'd be interested in finishing this task ;-) Well seems like no other takers :) We can always find the missing function in git history when needed, so I suggest we apply this. Adding Keerthy to Cc as he just posted a similar patch. Regards, Tony