Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp2156106rwl; Thu, 6 Apr 2023 06:39:25 -0700 (PDT) X-Google-Smtp-Source: AKy350bBFya6g7LJXyyJHPosRu0n1ZDdPWmFgGc2+RZdigXtNv7kcCtJNcxKlyFdIObsMumyDAfG X-Received: by 2002:a17:906:f2c1:b0:930:9385:ce51 with SMTP id gz1-20020a170906f2c100b009309385ce51mr6831042ejb.68.1680788365273; Thu, 06 Apr 2023 06:39:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680788365; cv=none; d=google.com; s=arc-20160816; b=aflB6vNpDMQFA9Y66I3awATny573EtsmQf4OoB1AaY+8I9/cyeMU3etTxuz3WbYSzx t53kh65lX9lMEKaIzzn88xTYmO/MUciEbfEotQMx3vGoJpl1hmZJbFK13LmVrr3L/Dqc Q+h/bgHhOeldw2BfDxRfm57ZC2N2WZNxiunCpU2QNkHCcV43BOdn91ByCDZDcGHiX2Du cmMahrA2DGkhRl0mQwBSri8jgezBZ4kNejG0s1tKQBG+SZFhYbTlt0hi9JSxcK7HVyQJ LYP9NCVLbBlbA0GhhfydqSfe9/Y3CJDWw7I7gdF+IQA0eh0NSR8uwHBjm1nwQxg4idEn 21Ag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=A+7Vxj5+1fyXV+eL8nJ1Llc6H+CJnZCnvo68WEvf1qI=; b=gEXHnDvgHjgxAFhnBcZzE1TecJR4LJslaU1iaLD0+c1T8wzLGlLB3U3zPF6SKNcMlt CHxAa14uID4AuxZRvyf95ohJctPrdVup6C0e6NQeBFDW5gBkWG5qOfs7dreRTlBJt4ga 2x8GnkkR8x/PMzSy1MiFvgcZsRQyv4dnaFJ6rBvfxEiXstPNQEG3GJVid8NfqeB+wUtC noDdQVOUaTrA083ny+1nMkSASF94NUSlQ1m1JT9iOgTPp6cYs0LPLcvIILt8zZOmZ4jB 8WDTg9wlnFO4g94SBo277sm8dPoaRglAgns1hW6ngmNDqPODqFc9whCuXkHuJtYhwlIE yOYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="TJL/x5c1"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dk8-20020a170906f0c800b00947ad578e52si1074876ejb.906.2023.04.06.06.38.54; Thu, 06 Apr 2023 06:39:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="TJL/x5c1"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S238613AbjDFNhZ (ORCPT + 99 others); Thu, 6 Apr 2023 09:37:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39554 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229676AbjDFNhW (ORCPT ); Thu, 6 Apr 2023 09:37:22 -0400 Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2E31E6592 for ; Thu, 6 Apr 2023 06:37:21 -0700 (PDT) Received: by mail-wm1-x32e.google.com with SMTP id v14-20020a05600c470e00b003f06520825fso2900866wmo.0 for ; Thu, 06 Apr 2023 06:37:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680788239; x=1683380239; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=A+7Vxj5+1fyXV+eL8nJ1Llc6H+CJnZCnvo68WEvf1qI=; b=TJL/x5c1pfmycsaSviHfZtegoePrkTASlCJMMCg/li1lF+BaSMe3uiAglxj4ZtbUiy dypJQFJ89PnTkF4zT9fh6+z/50PKwl5YpyOLTRPGK8pRJ3EWBOJRI7P7pe7Z+pvrEFXp giGsAjsl/SorHCZruP6mSos1JSh4dcJHkB4VqZ/sf5DF7dwNkzbTpDFEBTv63TkclszA eBJ96Wb5PDL7b8RxZH3YO25BZ424K8GIaVBRtrdxtLnLvu0OM9Pd2nO/txubgb5tfPdt uhE1bBcoekgH2ZFe0mX2gGVyPtecEpFIuLTzaKl3YulDqzV9ZryMY8TfT6voDMiFbu9a HWMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680788239; x=1683380239; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=A+7Vxj5+1fyXV+eL8nJ1Llc6H+CJnZCnvo68WEvf1qI=; b=5jE6juwcc+ZP+3a4lpFae/fEGthE9i3Ocq7SYPIpX49cEgBLAVa4mDL04oyrYBHZrp JJpr87HyFT4ek4wbTyTD/0Cfs0Ho5NFt3vz61sif4U6njeqlLhjYoKIgDPAMZVyBxwis 377ZJjCdGwWEe64UMf9yQwrc/LxYtPkhk1Cwkcnkntn8pH2W52n3UgcMElNaj3BgG6Bb N3o9encVZtHXnBKUaVFiA0f8kXehv+iX5NpN0996tb82l2YCx47gjHv8nF4dIXpYNGvE jsA5BkOazRlNcuhFpS9Jl7Hd6/BuMvUvXb/Yfu6ORMsG0qFslC9S1u8hjXZwl4ZkY0AY yeIw== X-Gm-Message-State: AAQBX9fTZW+F1O2fkSR0ic7RqztRlLqYuJXXRDvlptjr3XdDgjg09Ol2 TLjev0cFkW5cMQvZiIHZ57lqyQ== X-Received: by 2002:a1c:e916:0:b0:3ee:3e07:5d26 with SMTP id q22-20020a1ce916000000b003ee3e075d26mr7309618wmc.24.1680788239492; Thu, 06 Apr 2023 06:37:19 -0700 (PDT) Received: from ?IPV6:2a05:6e02:1041:c10:6630:ee96:3710:24c8? ([2a05:6e02:1041:c10:6630:ee96:3710:24c8]) by smtp.googlemail.com with ESMTPSA id l17-20020a05600c1d1100b003ef6988e54csm5360385wms.15.2023.04.06.06.37.18 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 06 Apr 2023 06:37:18 -0700 (PDT) Message-ID: Date: Thu, 6 Apr 2023 15:37:17 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [PATCH] clocksource/drivers/exynos_mct: explicitly return 0 for shared timer Content-Language: en-US To: Krzysztof Kozlowski , Thomas Gleixner , Alim Akhtar , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Cc: Vincent Whitchurch , kernel test robot , Dan Carpenter References: <20230403094017.9556-1-krzysztof.kozlowski@linaro.org> From: Daniel Lezcano In-Reply-To: <20230403094017.9556-1-krzysztof.kozlowski@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 03/04/2023 11:40, Krzysztof Kozlowski wrote: > For a shared timers, the mct_init_dt() should not initialize the clock > even with global comparator. This is not an error, thus the function > should simply return 0, not 'ret'. > > This also fixes smatch warning: > > drivers/clocksource/exynos_mct.c:635 mct_init_dt() warn: missing error code? 'ret' > > Reported-by: kernel test robot > Reported-by: Dan Carpenter > Link: https://lore.kernel.org/r/202304021446.46XVKag0-lkp@intel.com/ > Signed-off-by: Krzysztof Kozlowski > --- Applied, thanks -- Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog