From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C5367C433F5 for ; Wed, 15 Dec 2021 19:06:47 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id B9F838309E; Wed, 15 Dec 2021 20:06:44 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="E33P87BK"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id C0A32830FB; Wed, 15 Dec 2021 20:06:42 +0100 (CET) Received: from mail-qv1-xf35.google.com (mail-qv1-xf35.google.com [IPv6:2607:f8b0:4864:20::f35]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id B8B0B8302F for ; Wed, 15 Dec 2021 20:06:39 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=seanga2@gmail.com Received: by mail-qv1-xf35.google.com with SMTP id gu12so21179447qvb.6 for ; Wed, 15 Dec 2021 11:06:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=IJk874weY18F8hxSlIqBJUkrMxryn8QAOvvPdqY/Cwk=; b=E33P87BKkMyQ34nZ9OwPC3juGHDSk9a4gKgaEfDO60MzIdxMUEVylAJZjmMSZs1CNO lPeOIO1R5FBc6nLS1csvrEG8VxoV5PwbQw5a7HW99/eHKtXcIeZUMdmWPxt76GOxZaQj Pe55e4uM9Tf/YsoJX9jFShDMwx+H8JuzKzT/Hk6Q86D/zO51kaFEhXQuL9UT4a87KDr0 psKrkj1eAYaCJCE45gWzvNpna5wLtzNFQ+VUmezlR+xrecdQC12n3wUPlAINATfiGWSJ fPiiLSOyyHcjb2m9vNuMLwrX5m0sQEu0K+TtbKEPp5zEKiiEnsY2XkGfY0AViuOJ+2QX M1oA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=IJk874weY18F8hxSlIqBJUkrMxryn8QAOvvPdqY/Cwk=; b=03h3duk73+bGCUw9Iif2pKkzzkGPzbDKMRL+IIinIWfO1jinSuJwXq8o5mp9eGJ3aL wB2PsLE5KeRmemr7EhZkxMIVzN6tfx6PPU+wLwPx6O1cnYhjGykvk89OcjT4aw7MKf0R /qbOWYc9WpotYxRhPk9hhkYn0AtFwOkRpgvzx0rg6UmDdjdf2GV/klZ5Ae5ytqRCrbGE A+ZZfeS0i8Fx78Th5zg7XOA25efTy9TFcy0o7wwCtNf+ok3pGZV/VnBRICB4Fh81lHCC vmqfkP+726H3DN7QhzDpRCh8l8KFwxrlwnExqEDxH+Xr7+iIsLt+OI937KXZs5pG8l3h ZI/Q== X-Gm-Message-State: AOAM531QYbxgmEAahXKFUwodG6qRznXAXhAXqYLOtkR20TchxMUnZGZO 9J+qrASaCME9tFQsQ9jtzrE= X-Google-Smtp-Source: ABdhPJzTIbgEV7B+THhtwt24ZjPnKjuxcELPE2IVkFDzN+Qz/Jw0UDJF2wYHfqkpx5uDAkWE5drfwQ== X-Received: by 2002:a05:6214:c2d:: with SMTP id a13mr12761051qvd.78.1639595198376; Wed, 15 Dec 2021 11:06:38 -0800 (PST) Received: from godwin.fios-router.home (pool-108-18-207-184.washdc.fios.verizon.net. [108.18.207.184]) by smtp.gmail.com with ESMTPSA id o17sm1507887qkp.89.2021.12.15.11.06.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Dec 2021 11:06:37 -0800 (PST) From: Sean Anderson To: Giulio Benetti , u-boot@lists.denx.de Cc: Sean Anderson Subject: Re: [PATCH v2] clk: fix clk_get_rate() documentation Date: Wed, 15 Dec 2021 14:05:23 -0500 Message-Id: <163959510790.2783654.13617359939701821303.b4-ty@gmail.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210214021718.2235342-1-giulio.benetti@benettiengineering.com> References: <20210214021718.2235342-1-giulio.benetti@benettiengineering.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.38 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean On Sun, 14 Feb 2021 03:17:18 +0100, Giulio Benetti wrote: > Improve clk_get_rate() @return documentation that otherwise is a bit > ambiguous. At the moment I expect to return 0 as error since the return > type is 'ulong', instead the function really returns negative value in > case the corresponding function pointer is null and returns 0 if the clock > is invalid. > > > [...] Applied, thanks! [1/1] clk: fix clk_get_rate() documentation commit: 9e578f6340ba3f4324cd823872afe6eda39857d2 Best regards, -- Sean Anderson