Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1483343yba; Thu, 4 Apr 2019 11:40:34 -0700 (PDT) X-Google-Smtp-Source: APXvYqyI5Xpq4RvrBY4WKzs1ZmlEf1swrmfwzRtNpcB7XtQtGZq2/0SDAPWO9EHCgURycgbYQXwL X-Received: by 2002:a63:384:: with SMTP id 126mr6902924pgd.341.1554403234128; Thu, 04 Apr 2019 11:40:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554403234; cv=none; d=google.com; s=arc-20160816; b=PKIGLGhABCjiTayE4a20YKrlNdxXv9DKpxodljEvRBerY/FNgsA60r1sVuW0z2UxxH jM7xOGwuNGPwqW88iVjPR4T+Yn2kWHAtBp0mJIyMgQjIEy4V05Mt0RhIhfdmCbgKMsaQ YjeDghd7erVM6PrewUbTrTk8gM0vPDbdDQwBL6Y/LwrArDZQZVpXCBce3wnsDxbp3si2 TYEgZB7E8IvRP8VF/s45nHvVV9VD78bQxDaf8Rjzqa72rL1+cyxTcFJCH1yxcJbjemAC FlqCXuOLagm6NkdMX4A+Vhvs+R/BAbNxxRlpYycw6ONZ4LDLEWCg5anzNOAbgBuMC+Se EXmA== 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:dkim-signature; bh=k2FUpvDVR8Bx/qAVbyK8j7vj7T8VgY6V4ucAFGtit7s=; b=I31DUseIE44cTsA2+OQMKIIw0KuugWTMWKsDyeRbwmYxbfNOTpjjhnq2cSm9vBifdA F2zEwE722wyVWojqB0V6aCTaAgk+Xy/4nrovYn4x4ilcjk9Dcoz1sXYm6ioHKdyQjblT mM2Yh/rPMC9JQaOhN0C9Xa97LZpSXaepYa7CigD3vSOhPSeoX/bHtbgKOmaxYFWHbLbE l1vm71v3onRl36OFXxwtCJJkxDxRliwAKO9IsexNgFzuHuRsqyjgRZCjJ14cHCWT7kr9 dx1ZB0igD8Yht4o6CclhWHcthk1Ol02HAumbWs/V+go/Bl4arxZvl5GEnPKRKVlcyyO+ Io0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=nMxrWD8Y; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i7si15817226pgl.261.2019.04.04.11.40.19; Thu, 04 Apr 2019 11:40:34 -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; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=nMxrWD8Y; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729943AbfDDSjg (ORCPT + 99 others); Thu, 4 Apr 2019 14:39:36 -0400 Received: from lelv0143.ext.ti.com ([198.47.23.248]:44094 "EHLO lelv0143.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729785AbfDDSjg (ORCPT ); Thu, 4 Apr 2019 14:39:36 -0400 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id x34Id6jZ022168; Thu, 4 Apr 2019 13:39:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1554403146; bh=k2FUpvDVR8Bx/qAVbyK8j7vj7T8VgY6V4ucAFGtit7s=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=nMxrWD8YRkHrw1C8B6KpRcdd53MgOYCoB6czCU75+XP1fEuMezsESWz0VgCAKRfjQ On/J6AZhoP2bN1jHSDPbfYtvQe4yF2dmilIl77f9ptB0UJzQve+UGxVa/NPuBvvect c8qgGTOeE7VlJfoLFEfgTDSYU/8gomTebO0ti50o= Received: from DFLE115.ent.ti.com (dfle115.ent.ti.com [10.64.6.36]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x34Id61V037201 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 4 Apr 2019 13:39:06 -0500 Received: from DFLE102.ent.ti.com (10.64.6.23) by DFLE115.ent.ti.com (10.64.6.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Thu, 4 Apr 2019 13:39:06 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DFLE102.ent.ti.com (10.64.6.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5 via Frontend Transport; Thu, 4 Apr 2019 13:39:06 -0500 Received: from [172.24.191.45] (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id x34Id3d2069458; Thu, 4 Apr 2019 13:39:04 -0500 Subject: Re: [PATCH] clocksource/drivers/timer-ti-dm: Remove omap_dm_timer_set_load_start To: Tony Lindgren , Ladislav Michl CC: Nathan Chancellor , Daniel Lezcano , Thomas Gleixner , , YueHaibing References: <20190327050126.12064-1-natechancellor@gmail.com> <20190327081142.GA11034@lenoch> <20190404141730.GE49658@atomide.com> From: Keerthy Message-ID: <0cb5a5e3-6801-9888-6b17-c1f54f597a16@ti.com> Date: Fri, 5 Apr 2019 00:09:31 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1 MIME-Version: 1.0 In-Reply-To: <20190404141730.GE49658@atomide.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 04/04/19 7:47 PM, Tony Lindgren wrote: > * 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. I posted the duplicate. Thanks for looping in. > > Regards, > > Tony >