Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp1021829ybg; Mon, 27 Jul 2020 06:03:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJybrEVR0G6z0En755fI6H/nZdFub8WgvgUR1Tj2Dj2CCdrV5CncF50tnq75qFI4uM8hcHG7 X-Received: by 2002:a05:6402:354:: with SMTP id r20mr22251215edw.32.1595854989503; Mon, 27 Jul 2020 06:03:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595854989; cv=none; d=google.com; s=arc-20160816; b=qfL51MGQy3usLumy1Ztuze3UW7r2kwRYxc6BHSxrzR+AI41IV4QFmyxzcuj6U+Qbt+ NJMWSRW7ioJ0y7ZfAlZVO/66fPCq14RIsH5EB4hFoyNQY2ng8AUnUH3o7qUDTgSjzwpu fLNPme4qOeRchP1gIo7TN6l70fF5C1sbc0/VZe8tJI9fETkGLfSBJPkJGHtxrjzNRMZ/ T7CtsNEMwGkvK+m9fVO14OnLxBtnbZPG8JUHKIPj9/2N2M1KOVvbKKSJNw0rZ7KK7Mb6 gCQqr/E9iqCk6ZieaKU6f76ocse9QFAhR/aAJIadBjYdm26Ni+TfsZVoFFXpXvo1CEOv 9yYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=zDCRkmlrPzZtJGE53wEFNYm0NkhB9Lgp0Cpk5WdLiRg=; b=Nd6+GCbKP4qveFFbRJSrtE/YVnAdnIlVVo4ZUiN9FYLWDPOVqGHSHfqH29ZToE9tI4 uj+0nWhGJAaPu3MD7ewaGapSUeyxI/tK+5ZLWKtztwRTyJX/xgR+oiW1wGuD9CQcLd7j JOeq2aLGcumDqKnN7yYUl3dRUv5cbKOgDlT9JLHDgUlZYdDJWkoERWypo/TDUqtpOHuz mkFPUZhR3qjWgi2aT+qGN9HLioVViA5wfi9nQ6/HTHzwn11rfMvXPdSlTsSn/5JYILfx PTKNJcPqpXbw54AMkpMiVi7Nr9mq98CSUvG697Uatp5CT3ydwt5jk5m7DMpJEPxGd9pM Rt8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=lczIY6ut; 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 q5si5309491ejz.248.2020.07.27.06.02.45; Mon, 27 Jul 2020 06:03:09 -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=20161025 header.b=lczIY6ut; 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 S1728584AbgG0NAl (ORCPT + 99 others); Mon, 27 Jul 2020 09:00:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52230 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728141AbgG0NAk (ORCPT ); Mon, 27 Jul 2020 09:00:40 -0400 Received: from mail-pg1-x544.google.com (mail-pg1-x544.google.com [IPv6:2607:f8b0:4864:20::544]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6AF78C061794 for ; Mon, 27 Jul 2020 06:00:39 -0700 (PDT) Received: by mail-pg1-x544.google.com with SMTP id j19so9461156pgm.11 for ; Mon, 27 Jul 2020 06:00:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=zDCRkmlrPzZtJGE53wEFNYm0NkhB9Lgp0Cpk5WdLiRg=; b=lczIY6uts6V8QBf767/dsO3hCaENXmqOrFa42ohxayqesfvAAgijiNZv1re9tWnTY6 d0s9U5s+apCDK4FgghlLVqUtHLI+pe00AdVcfFsF85NH7PRh7MrsCRAfji913WmqPkWA l8w669dWxo9uIWSjE2IzZ1CC8ljloucRpA7J+1FxBigRe4f7b7e88tLEw2OG1xK5y0T2 KaBwYo0NBnDCRBP85FOOvGiIWjB9mGBFSYXOZmhuA7qZLTWoTLT24XcjaYEoBcOXvZWt mvW4c0jYC17dqBtyBCTPlU0Bp23vrGv+uUuw5U5C/aTmXQ0CshIXYNzuGPxIHBMDcQXN aDyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=zDCRkmlrPzZtJGE53wEFNYm0NkhB9Lgp0Cpk5WdLiRg=; b=leQzB9zSpGaVbNR/7A9k1nQT3bAAS6CcXrJpe/75npdFCVI4lb5WqiBAwsXgqA14mR YcjloXZOtzSmBIoFNAR2eLswVb1U97JqYiRFehKR2GzgxuwZbkVr4dbfx7uwObWuqsJ5 2C1vqp6T55ySAmRs+BBxvvAZT5OqgqnNtX6aAkdWa7LwJCgG3pSjZKZwMQgil0DNUj1R KNRKcF2LQrhyQs11Y6EadtEvE372f+NtLg8/Tt+Q4ZhWyaOYCPx6PV26OB59gnK7UMdR pQJiOgZ/UFyx0hGlP0EdSd2D1U7pTkIuy8uwpISS85xxqnrs7L8yhPwesVXs3ZdZGwbX kT/w== X-Gm-Message-State: AOAM533llJWejsdK2yylGNfCw0oZWYL6bFP0qiAyioqYlplqv0s7Slma 2AJgGFxqNPg5PKJyYRqIQfmgH9F3f661QShwOgU= X-Received: by 2002:a63:ce41:: with SMTP id r1mr20163590pgi.203.1595854839033; Mon, 27 Jul 2020 06:00:39 -0700 (PDT) MIME-Version: 1.0 References: <20200727030407.8820-1-vulab@iscas.ac.cn> <20200727120908.GR3703480@smile.fi.intel.com> <20200727125335.GQ1850026@dell> In-Reply-To: <20200727125335.GQ1850026@dell> From: Andy Shevchenko Date: Mon, 27 Jul 2020 16:00:24 +0300 Message-ID: Subject: Re: [PATCH] intel_soc_pmic_mrfld: simplify the return expression of intel_scu_ipc_dev_iowrite8() To: Lee Jones Cc: Andy Shevchenko , Xu Wang , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 27, 2020 at 3:57 PM Lee Jones wrote: > On Mon, 27 Jul 2020, Andy Shevchenko wrote: > > On Mon, Jul 27, 2020 at 03:04:07AM +0000, Xu Wang wrote: ... > > It's a bit more helpful in the original form in case to add some debugging. > > If you wish to add debugging, you'll have to add the extra line of > code yourself. :) True, that's why I'm not objecting the change. > > It also keep it symmetrical with read() counterpart. > > Can this be fixed-up too? How? Can you elaborate? > > That said, I'm not objecting the change if Lee finds it good enough. -- With Best Regards, Andy Shevchenko