Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp1632470pxv; Fri, 23 Jul 2021 13:14:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy5VNCsVis8SyH9bbjvfdTjZikTeFBhTneoAyaHER6wYo1BqjonGWp2KzeAROhqncp343t6 X-Received: by 2002:a5e:840f:: with SMTP id h15mr5171688ioj.93.1627071241086; Fri, 23 Jul 2021 13:14:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627071241; cv=none; d=google.com; s=arc-20160816; b=aSkEZMtNmu/F2DPwo5tzCZA/yfVApqsDbmQ9lo3TPsAS48UxCrJ5FbFiOwikdmL4HE SiTc7pAfmD8+XfAuEWxZfqqs/rgnne/fWUpvcRtUo4q1r5UHOy/B2Cbndu9oV2Oesu+e aKAo+Pvjl+Y7ptPWnkAtkn3IJVHAyiJ62qraHPYSm2+EQA6l/Cqr1Y4gD+ltyRECyGbk WSHH45A396GgCvoCEaKlOqhHeJNtUJ6MRb0AhSXMffl1MtkMSS4CC7semKsZDY3a95Fg NXpD+D5cCWLk0tYfhBkHEXcp5SJzVVDDsMV1pBp5J1aiZkNbpoEr2Lb23I5W+WHDUN3n YjOw== 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:user-agent:from :references:in-reply-to:mime-version:dkim-signature; bh=iWKsxqaLuKKt7r1ybco35OuqISL9Q6eRrAXI7L+rDDo=; b=Mm9fywazzde7hnZ2NvxI+demxZeq9CjgZ+mN6dwHXtNOUWcSc14a4ALxaarT30Sj0g q3rfLsztLR7ttwYwg8hBcqDXxxWNeF9Caj808bMQrnU1n/t5RJpby+V84gacUz5ec7Dr Ylp2fK9MhqIbilZ4TUh/ZUR754931I4LveTUooQvHa2UJ+0fTjwPZv0/fdOki0+IkEIG pYa26jGpggj7kvLibnniSYp0M3Tjj5tXgI72CLn5D/T/4kKtmo6+EZKfTxnQEscYl881 SBzjiUwAFTefCAJc/TvNI2nicBg/4ltMTCunahA6KNBsDuq2BKrF9DYI+diZSK9JEQx1 Xe3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b="PPzW/qAs"; 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=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x6si26431958jas.60.2021.07.23.13.13.48; Fri, 23 Jul 2021 13:14:01 -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=@chromium.org header.s=google header.b="PPzW/qAs"; 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=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229964AbhGWTc0 (ORCPT + 99 others); Fri, 23 Jul 2021 15:32:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57572 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229648AbhGWTc0 (ORCPT ); Fri, 23 Jul 2021 15:32:26 -0400 Received: from mail-oi1-x232.google.com (mail-oi1-x232.google.com [IPv6:2607:f8b0:4864:20::232]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6B8EFC061575 for ; Fri, 23 Jul 2021 13:12:59 -0700 (PDT) Received: by mail-oi1-x232.google.com with SMTP id y18so3123210oiv.3 for ; Fri, 23 Jul 2021 13:12:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:in-reply-to:references:from:user-agent:date:message-id :subject:to:cc; bh=iWKsxqaLuKKt7r1ybco35OuqISL9Q6eRrAXI7L+rDDo=; b=PPzW/qAs5wuxrT5U0bkozRW2HaxMAaUGE3JwrNMv8MPBBWl9h1FmY7g4/+it3cHcar UQxysCb003ez8WPNpFgmkTNQTcxzGwl3BYhl7dhr6jJG8b1RthNcgdl9xqckEJ6hcnsG 09Gkppkoi2B2IF9te3kllT2T00TY+Akg6DoHw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from :user-agent:date:message-id:subject:to:cc; bh=iWKsxqaLuKKt7r1ybco35OuqISL9Q6eRrAXI7L+rDDo=; b=iy9yd2H7J1zi8mf4nhs+XMDyawfW4KdO4L6mcierWNVy0+L/6d9ujG9CHxxXrDXXKc P0eMWWVLCCyGyt+Xqon5GOh765V1Cd+4rXPAVlEuV5ARdp/0RAQvz4dW7G4Miz7sfxwd suKxMPZhgth4ZATbzCNaPUhWh6xHL/Wen5q4kNEoXkvaCeapfFHha5M0akZVStDYSjkO ABVg5/yEq00mHEJUigb7vC6nD1UppUde/l5wuwr6qR4xSbT+2kTBboRm0oZ25svzAO9D 8F7Wt83N7ccWB2zSDDGkoHVXcUPvK4YUizkoKETGEllY7VagPPRTcTnzUiCftcrxPP/8 pMlA== X-Gm-Message-State: AOAM531fAAoSj7KjXIfHA6zD9ebHBdv3sWuofchrnif1F/NzkTkH8ow4 jhs8LG1jMzQ2Q9X9uRmIg72FBMkSkXWb+l57Ksosjw== X-Received: by 2002:aca:4dc6:: with SMTP id a189mr10234216oib.166.1627071178884; Fri, 23 Jul 2021 13:12:58 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Fri, 23 Jul 2021 20:12:58 +0000 MIME-Version: 1.0 In-Reply-To: References: From: Stephen Boyd User-Agent: alot/0.9.1 Date: Fri, 23 Jul 2021 20:12:58 +0000 Message-ID: Subject: Re: [PATCH] Input: pm8941-pwrkey - fix comma vs semicolon issue To: Dmitry Torokhov Cc: linux-input@vger.kernel.org, Bjorn Andersson , David Collins , satya priya , linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Dmitry Torokhov (2021-07-23 12:52:15) > On Fri, Jul 23, 2021 at 07:43:52PM +0000, Stephen Boyd wrote: > > Quoting Dmitry Torokhov (2021-07-23 12:39:02) > > > There is absolutely no reason to use comma operator in this code, 2 > > > separate statements make much more sense. > > > > > > Signed-off-by: Dmitry Torokhov > > > --- > > > > Fixes: 2fcbda9a822d ("Input: pm8941-pwrkey - add support for PMK8350 > > PON_HLOS PMIC peripheral") > > It actually predates this patch and also not really a fix as the > original code ends up working properly, but looks weird. Alright.