Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1730177pxb; Fri, 22 Oct 2021 06:38:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJygSS6Z65ix6QSy20MazoUBCVJMlpBB3X4Zqy2mOHxEMQmBhXcjiCu44/eCeNADfZ5JNiNK X-Received: by 2002:a05:6a00:807:b0:44d:90ef:d27d with SMTP id m7-20020a056a00080700b0044d90efd27dmr105691pfk.16.1634909886041; Fri, 22 Oct 2021 06:38:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634909886; cv=none; d=google.com; s=arc-20160816; b=iZwGefxQU/bGFUf8Mv7ZwxGcdPvTPkdClbZmHrCEAWlbbSdgLIt/Ztdw5FSTLIrlFc +84ZBIZFt1vl0zwy5lANQrP+YXsYgRRBvXhaAytRHw9WAs+och/wEzW1c792rkwkHDME /1sPgpxnBH+Q1/VZ6qsNBZWvJIddWubOJFuVFNjEAk3nzxkgGPMPSRIfmZdrZ0fGwMvY Fqs/cYlFYDYHYj8hlw1VtLE2+xP5+FKmmSV+5JkAGyS2fdmw7k5lcVMl8Gkr8VFSEV3v 8rpNRJmRwXlExOnzEv11duuR3s9jj5UeEfhH3wd5lANMqfbvRS0KP6s8RzQVHbr+4kz2 mddA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=3VqjR5oI/ait3rohMOusYdeugPboOfYtc3O9o05eMHQ=; b=D/nKz2u/bGC2D8zr7TJKdbiAb1JGB3tIIaf+o3oeA02f3XuH8P7VJkf7gJQ16nFJuQ DteYJeXyZl1e6451gAWJqQDkq+ZNsLDV8V7qfp1mqUwRgSIaBA0dPjTF3+ZBhbuk1xAd sXA2UXrqNKtjDF5gg7Nd0lkb49X439y5+YOXr6DYtmd3EbZMt3Uo6h7zW4q95k/gbMcP XaM558wtzeynp6eimS2KoW/+3qHbuf4TZ81BsRwFgBMi793VbpygyA83/PP8OOks6V5q 5zbV/H6br3OL2v8lNb2GMP5mlZmxy0cisQgw2Hsaw6R8ApYPLfTKpUrMxAte+SeDgRX0 gMHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Q1yRtDer; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u15si15924432pjr.51.2021.10.22.06.37.52; Fri, 22 Oct 2021 06:38:06 -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; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Q1yRtDer; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231516AbhJVNjG (ORCPT + 99 others); Fri, 22 Oct 2021 09:39:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42360 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231658AbhJVNjE (ORCPT ); Fri, 22 Oct 2021 09:39:04 -0400 Received: from mail-ed1-x52b.google.com (mail-ed1-x52b.google.com [IPv6:2a00:1450:4864:20::52b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7F5FFC061764; Fri, 22 Oct 2021 06:36:46 -0700 (PDT) Received: by mail-ed1-x52b.google.com with SMTP id e19so3227197edy.0; Fri, 22 Oct 2021 06:36:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=3VqjR5oI/ait3rohMOusYdeugPboOfYtc3O9o05eMHQ=; b=Q1yRtDerJPfkd6V6vThQqZzlZX02K8g1faPyh5JvGtWbxyqlvyJdVLUGTYwPQ3saLq //fIB06jwTGHRGxKPLs8MJWyLB830xmXmsTkCETeG1taPcahOXie4rvc7CK5zltFt8oF oPUshuRuTnd0iZXy0ny9kVNx8mrm1ouS31YXXV69DYolYaT48xWqECVE7DhkqpFj8Azm VWMFDlsZTra/bzin+kya2NessF7ZGFHODA9zaBsoaYq5uCJaZikR/QWJcRu4iqFGwBxl 7SUxGngqa3kITyZSSsSKeCn5rbO8WWtCwQv7XozRKVi8eu+fjf3xq7bGmV9vMO/W2GeJ DmEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=3VqjR5oI/ait3rohMOusYdeugPboOfYtc3O9o05eMHQ=; b=LA0O2ritGvHs42KGT2DfYX62qe8ITDzUTgz14pdTQ+Ni3AIMsYNJcA40Pn5JOabVnK 87brKmiOojCeim57Kn+uUWiTdUQnb34hf6CvomFeL2qRkZNdOscWyHoWxwyhS4c1uOP7 MxqPczorrJT46LtNePqqPBjn3DAXg5Ndoj4hDx3IL3vLEiDlMTjdH+wWgm0dvaXKyRZU SrTMT8KhUlbWi2Y924iVUpBeTIxEHzHvo7/VYtS5qeJE+ESnIMVmumuODQoLDmuMSNLG VSvoygyK/RZYigSjMDhGQYmou2BW9i+PGOU5O6Ln+bmTE/I8mB5ys7gTCpfZq21XSFMq 3GHA== X-Gm-Message-State: AOAM5318jS0lKWZF04wL+wimiEv+AuQOU5uWYs63r2B+KakiCXel7Ruh yyGYxtyrdky1OwUpy6cALAS+zFqZ/EFuSTLHAyU= X-Received: by 2002:a17:906:5a47:: with SMTP id my7mr14903725ejc.128.1634909805119; Fri, 22 Oct 2021 06:36:45 -0700 (PDT) MIME-Version: 1.0 References: <20211021174223.43310-1-kernel@esmil.dk> <20211021174223.43310-7-kernel@esmil.dk> In-Reply-To: From: Andy Shevchenko Date: Fri, 22 Oct 2021 16:35:49 +0300 Message-ID: Subject: Re: [PATCH v2 06/16] clk: starfive: Add JH7100 clock generator driver To: Emil Renner Berthing Cc: linux-riscv , devicetree , linux-clk , "open list:GPIO SUBSYSTEM" , "open list:SERIAL DRIVERS" , Geert Uytterhoeven , Palmer Dabbelt , Paul Walmsley , Rob Herring , Michael Turquette , Stephen Boyd , Thomas Gleixner , Marc Zyngier , Philipp Zabel , Linus Walleij , Greg Kroah-Hartman , Daniel Lezcano , Andy Shevchenko , Jiri Slaby , Maximilian Luz , Sagar Kadam , Drew Fustini , Michael Zhu , Fu Wei , Anup Patel , Atish Patra , Matteo Croce , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Oct 22, 2021 at 4:13 PM Emil Renner Berthing wrote: > On Fri, 22 Oct 2021 at 14:34, Andy Shevchenko wrote: ... > Hmm.. this function doesn't return int, but struct clk_hw *, hence the ERR_PTR. Ah, indeed, sorry. Got your point. Of course one may try 'return ERR_PTR(dev_err_probe())', but this looks ugly. -- With Best Regards, Andy Shevchenko