Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp5683616rwd; Wed, 24 May 2023 05:32:49 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5wCCNZ77SmgCmnFgFBfYhttMiar2ZUo3pr2uiLjiIs+2P0nQmB6Dv6UpeR9AvLGUjcJ4BG X-Received: by 2002:a17:90a:ab06:b0:255:8a33:858c with SMTP id m6-20020a17090aab0600b002558a33858cmr7029851pjq.23.1684931569342; Wed, 24 May 2023 05:32:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684931569; cv=none; d=google.com; s=arc-20160816; b=g8e7rw70TPfDTAf9Cno5B+O2jUUbKAdwru1Udm/as1lmH8fDJEykWHzDjkIT3Avbvt OaqBNGYI8/Ty8Zf7cYOQJUfDDOm4JKhq3nh3WTIjkHfYR4R4p+euLLC3MCxmk7/o2qjo SIukCX6LCcPVWXEhwap/w1XcbNF7gEzyHIg4g7QzLsGPhwvzPOviPaAuAYp59UuWW6vs 77w1R/iI6m/OWbX9J+HGnpTJ/puo55EGq7ZfPqvDQ9FTDADnTHVwVsiiqi9q9OZiIUAI SMWmTg5aQowuePUitwKQnu9MiJoZgqumZo42kcP6gM+U+0Kx9M6Bi0vh0McusLuCqZPG goMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=/HGzUolYj28GjVVKpEAKjy6vTy+WTSOj6uakT4cNK/k=; b=i8n0fPlt9JrHOB5o9tsdOo6PJSYw7tWGg6eX5dJ5hoMwAsjRuaTdsGBLE28cbP2lRj OPzxh7F/UKbDFszOuoxIPHJC1SB9ZOEkp0eIBjp6W56pwW5HO6QFLHvQApGOYqvOp5zw dRQKFJ6Jba/M1DlEt0NDVsby0ds5SMMg6d3Lf54olct/CCxUhZsoFxE7mHtT2fo+km0r s7cU8KDDFWuOulVhMeFZypsgO7q0kKrOeh4Il7PiH9AT74a/aTXJrvVsfWMtUsXD5LfZ CL1PN0/bxMCmh07phqsazGQLKV/rMjYpMhbxRIHjfEgs9HpsCVizApktuFwYqhuMuQVv tuLA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id on14-20020a17090b1d0e00b0025026c97f40si264104pjb.145.2023.05.24.05.32.36; Wed, 24 May 2023 05:32:49 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232374AbjEXMW0 (ORCPT + 99 others); Wed, 24 May 2023 08:22:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46622 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229521AbjEXMWZ (ORCPT ); Wed, 24 May 2023 08:22:25 -0400 Received: from michel.telenet-ops.be (michel.telenet-ops.be [IPv6:2a02:1800:110:4::f00:18]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 620389C for ; Wed, 24 May 2023 05:22:22 -0700 (PDT) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed30:59b9:3473:f0ae:e2b7]) by michel.telenet-ops.be with bizsmtp id 0cNL2A00M5NiV2706cNLJv; Wed, 24 May 2023 14:22:20 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1q1nVF-002xw8-Ac; Wed, 24 May 2023 14:22:20 +0200 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1q1nVU-00DPC7-AZ; Wed, 24 May 2023 14:22:20 +0200 From: Geert Uytterhoeven To: Liam Girdwood , Mark Brown , Osama Muhammad Cc: linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH v2 0/2] regulator: core: Fix error checking and messages Date: Wed, 24 May 2023 14:22:16 +0200 Message-Id: X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=ham 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 Hi all, This patch series corrects an error check, fixes error messages when debugfs is not enabled, and improves debugfs error handling in the regulator core. Changes compared to v1: - Split in two patches, - Improve rationale. Thanks for your comments! Geert Uytterhoeven (2): regulator: core: Fix more error checking for debugfs_create_dir() regulator: core: Streamline debugfs operations drivers/regulator/core.c | 30 +++++++++++++----------------- 1 file changed, 13 insertions(+), 17 deletions(-) -- 2.34.1 Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds