Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp447350lqt; Thu, 18 Apr 2024 23:58:26 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU+77J5AQBDac+70JQoL5YrX3ReeLhNLgU7B7n10b54Ca65bFNgJHFNfVHdCqo9SCm9kJIfO4QagznKeHcMC7bA26489xdbzERbrvMZzA== X-Google-Smtp-Source: AGHT+IGiz1+xWNB0CtdvID+rPxn94L9Dfgo0craCqYA4bugPXzPm2dNQ2Ul8ZamkWrNEMR4eIVjH X-Received: by 2002:a05:620a:118e:b0:78e:dcc3:91f0 with SMTP id b14-20020a05620a118e00b0078edcc391f0mr1340771qkk.60.1713509906025; Thu, 18 Apr 2024 23:58:26 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713509906; cv=pass; d=google.com; s=arc-20160816; b=XBO00OoGJaAz7REdGpfyhU4+MsX/9EzDraCOczecwThb9J5KZiUX30HDiAi40hkJ9B i8XTvY5xcBD9rXU8PhW0H7SwYQX4x3y7d8FjcDCVMsiZZENhhgCaLc5nBminTkUgm34J iseURX2BbyDpG/j50vShoUWHI1fqyHpiZOvseBKJh5CCRhZfGCxOquLIi5udkopBKFRh 7qMbtDzNkfRerOBk62Fw25hvQ0txZocGGFRP3hU6QIaJikUc+jXYMsqvQ4qqtfhSabJS Ie/SZWLnawL4qQfv+Tp3hHEuedJqYWDZgFXjQbtBkBsf30Ve/o2jvo/7C0KyO6nVlhZX s6Aw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=SukY/LUSoX0qW0Q2bS/inoZwjFep48piAlHfFqQcruI=; fh=WkkzK+CBKtEeOgyFwsMpc44oFba90CuMF7VXS4nAIdI=; b=RsXRQE3QfWQaJXP6FzonSQgUEuDqQLOrKvWx23oFRk05w1RrtnrvzAFF85wEABgutV Z+/F8ezQm1LAnWNB7hJ+T02hbTc4eRzJVvdot+A2s7kLgCLcGYsZni+94jol0r9EC9ps ONWKUQbxWxyLv+/i7jFIjzKlInRgI53OdkdIj6ECPt5biF85uh0uT8iwGCs8gIZph1yD wFD2/V+XGPX6v4QGFirkVHimbtFdZJndyEQqpNtrAO/n9Mr40BIbpEQYFpZwEuQlhPzZ mYRGWAdsseggB7TXINuc7oJmaHgWptqSepRb4hrF0hmWWsdJv+mfZIyKdUdqaUbxhMT4 zKyg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=tVH16264; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-151076-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-151076-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id u4-20020ae9c004000000b0078a4137f778si3063162qkk.227.2024.04.18.23.58.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Apr 2024 23:58:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-151076-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=tVH16264; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-151076-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-151076-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id BBB6F1C20DDE for ; Fri, 19 Apr 2024 06:58:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D46023B2A4; Fri, 19 Apr 2024 06:58:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="tVH16264" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EF7619473; Fri, 19 Apr 2024 06:58:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713509898; cv=none; b=CYLIA0jqDxF6/bxJxVyK7no9HC/GgxDlE6jDdjHetTUt3Du11+fwsD9BqLjUU/wSy2/kAolYPOCjcogLDAyXbDZdUklm9/RKwibuoUEYx6Bd8iNz0VaoUTq80HcEaXhHiLJxEURw3boZlpxBX4/FlKeN0yH/IfTYVMfCK7KjteE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713509898; c=relaxed/simple; bh=0NIKKtwHJUiZX9DB3EHMQHRDMQD6k9lrc9I+T6ozsKM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=on8xwbBR1T5DQKiDcVgML93puEpFXrjKvi0nKG4arQTvZ7O/+xxyvP79Vz52KWf1Y8CgvApFvn/4IeP50ang7fuGhzoAe6Qz8ex1R1u8VfDB3OvIWA17GNWXCWOsNK6AGMpSiyQPKpkbKgbVUvKkAsGEMNIKzoM4Qikne9P/iyw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=tVH16264; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id E3CF9C072AA; Fri, 19 Apr 2024 06:58:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1713509897; bh=0NIKKtwHJUiZX9DB3EHMQHRDMQD6k9lrc9I+T6ozsKM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=tVH16264yNGTv0vRo1kR3Qr6k+vGurChCerDUrJ0spg8Dw75tEMtfX2qwT5f+c7jS XawanFcx9JxXznjOydgfULk/jM69Rxa1VG4xpSIgyB9ZcaajPZweiZ1lNdsUAOpPjq KxW36SDn3o8oDJWvSVNIbcvU5Wcg/om+hsOXGAbU= Date: Fri, 19 Apr 2024 08:58:14 +0200 From: Greg Kroah-Hartman To: Parker Newman Cc: Jiri Slaby , linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, Parker Newman Subject: Re: [PATCH v1 3/4] serial: exar: remove unneeded parenthesis Message-ID: <2024041951-paradox-stable-320e@gregkh> References: <1dbe1847d92dd34d223c6dc6b5cd0731b78e98e5.1713452766.git.pnewman@connecttech.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1dbe1847d92dd34d223c6dc6b5cd0731b78e98e5.1713452766.git.pnewman@connecttech.com> On Thu, Apr 18, 2024 at 11:36:30AM -0400, Parker Newman wrote: > From: Parker Newman > > Remove unneeded parenthesis from several locations. > > Based on feedback from: > Link: https://lore.kernel.org/linux-serial/f2353b8c-2079-b895-2707-f6be83161288@linux.intel.com > > Signed-off-by: Parker Newman > --- > drivers/tty/serial/8250/8250_exar.c | 28 ++++++++++++++-------------- > 1 file changed, 14 insertions(+), 14 deletions(-) > > diff --git a/drivers/tty/serial/8250/8250_exar.c b/drivers/tty/serial/8250/8250_exar.c > index 01748ddbf729..10725ad0f3ef 100644 > --- a/drivers/tty/serial/8250/8250_exar.c > +++ b/drivers/tty/serial/8250/8250_exar.c > @@ -317,7 +317,7 @@ static inline u8 exar_ee_read_bit(struct exar8250 *priv) > > regb = exar_read_reg(priv, UART_EXAR_REGB); > > - return (regb & UART_EXAR_REGB_EEDO ? 1 : 0); > + return regb & UART_EXAR_REGB_EEDO ? 1 : 0; Again, spell out the ? : stuff here please. Using () isn't the problem :) thanks, greg k-h