Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1927681pxb; Wed, 10 Feb 2021 22:49:20 -0800 (PST) X-Google-Smtp-Source: ABdhPJyrrJH/YeSx52SePb9bB+qUipKOugM21cqSOVRz2R8FZKSE57TFYeETsGOT1UWWhLXdTvcn X-Received: by 2002:a17:907:2d09:: with SMTP id gs9mr6527316ejc.363.1613026159771; Wed, 10 Feb 2021 22:49:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613026159; cv=none; d=google.com; s=arc-20160816; b=ii6MnULhDZxs8FffmxktBwjg2Ma9wv1rTBrCZkuD4i8tpDvvHNLv3hO97EQa5hl5Io 3mBG7eGbExeGuPmVNOZJmE4wEdsG1B0xr7O0PMzGkGl1xqj0f1FhZSxQ4WwKvvULRlHs +YyW8OGtmoL1K1cVqCbZqiIC4jUaXdSLqoMO7pBAxquEAUWOfqYYm1IwmINOjuDiiaI3 S6KZKTbZ/UPKWG0i4tp69/oStKzA2P+aUfI3HhdgSlh1bmhdsbtBum8iSzwcFj5cHWNx ro6c/GHNX/peKcAY3/6wvVBhXtvTVYK+syouOwipEvNdTEIxc7SYQT2bhRlHPbhqaCwx aImw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=QDiuQrwReLDr/pWYB2YARozA3zvRZ6Rppz8oAfY1j6s=; b=Ukjaf/P0lvri3v46hhsBN3srva3j470pCOneztsijOUvf69aoZEmyBogUdAnYJilDO axyhsXnI3d5JO4325n1TC2GL8wppDQd7cgEQ0+l+FJmp+WWOnPbQxn2TwvcSRu5xrDBE tkzAEpUDAi8TOmoItUctzXapKD3W4k1iMBOyY5sNlLPSZTprUSp1R25W7JcdsJ9UJd2N Yf1u47P3rlZlpU/lpn/iMsf64jPS9Hg1OX1RHfoamHpmiPeshpdvjXcwhohvFsSGrfUU KPkyOwoTUzuj5aBNvKa4yJKjOwMBU5/IhrCBKjlp0B+pZV43QV+amYwDPDxnYtN4XVzl gXLQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=FSWt0Vdm; 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=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g12si3195685ejd.722.2021.02.10.22.48.56; Wed, 10 Feb 2021 22:49:19 -0800 (PST) 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=@linuxfoundation.org header.s=korg header.b=FSWt0Vdm; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229725AbhBKGpp (ORCPT + 99 others); Thu, 11 Feb 2021 01:45:45 -0500 Received: from mail.kernel.org ([198.145.29.99]:52468 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229707AbhBKGpO (ORCPT ); Thu, 11 Feb 2021 01:45:14 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 9A84764DAD; Thu, 11 Feb 2021 06:44:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1613025874; bh=k4kF3xCaiXZTCRC7JdbOZhkmpEUzT4bn9wyjDi8LcUY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=FSWt0VdmQaXTldhrl1bhIb8mUE5b3KBiQbTJE+XQsRq5T2yvqzq+Kzomhl+gjkyBP anJUDI2hYylgQtEmmYhZMJJ4R0fhbQSJate+qnapME05os6qUxFWGWjvLjgcSgV/VC DRkJjYm5+ErpyspMa+pUBIu4HjzbdLzEz2Ma1OgM= Date: Thu, 11 Feb 2021 07:44:31 +0100 From: Greg KH To: Fatih YILDIRIM Cc: gustavo@embeddedor.com, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] Macros with complex values should be enclosed in parentheses. Message-ID: References: <20210211062543.9817-1-yildirim.fatih@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210211062543.9817-1-yildirim.fatih@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 11, 2021 at 09:25:43AM +0300, Fatih YILDIRIM wrote: > Signed-off-by: Fatih YILDIRIM > --- > Hi, > I have a coding style fix. > By the way, I'm following the Eudyptula Challenge Linux kernel tasks > and this is my first patch related to my task no 10. > I hope I'm doing it the right way. > Thanks for your understanding and kind comments. > > drivers/staging/ks7010/ks_hostif.h | 24 ++++++++++++------------ > 1 file changed, 12 insertions(+), 12 deletions(-) > > diff --git a/drivers/staging/ks7010/ks_hostif.h b/drivers/staging/ks7010/ks_hostif.h > index 39138191a556..c62a494ed6bb 100644 > --- a/drivers/staging/ks7010/ks_hostif.h > +++ b/drivers/staging/ks7010/ks_hostif.h > @@ -498,20 +498,20 @@ struct hostif_mic_failure_request { > #define TX_RATE_FIXED 5 > > /* 11b rate */ > -#define TX_RATE_1M (u8)(10 / 5) /* 11b 11g basic rate */ > -#define TX_RATE_2M (u8)(20 / 5) /* 11b 11g basic rate */ > -#define TX_RATE_5M (u8)(55 / 5) /* 11g basic rate */ > -#define TX_RATE_11M (u8)(110 / 5) /* 11g basic rate */ > +#define TX_RATE_1M ((u8)(10 / 5)) /* 11b 11g basic rate */ > +#define TX_RATE_2M ((u8)(20 / 5)) /* 11b 11g basic rate */ > +#define TX_RATE_5M ((u8)(55 / 5)) /* 11g basic rate */ > +#define TX_RATE_11M ((u8)(110 / 5)) /* 11g basic rate */ > > /* 11g rate */ > -#define TX_RATE_6M (u8)(60 / 5) /* 11g basic rate */ > -#define TX_RATE_12M (u8)(120 / 5) /* 11g basic rate */ > -#define TX_RATE_24M (u8)(240 / 5) /* 11g basic rate */ > -#define TX_RATE_9M (u8)(90 / 5) > -#define TX_RATE_18M (u8)(180 / 5) > -#define TX_RATE_36M (u8)(360 / 5) > -#define TX_RATE_48M (u8)(480 / 5) > -#define TX_RATE_54M (u8)(540 / 5) > +#define TX_RATE_6M ((u8)(60 / 5)) /* 11g basic rate */ > +#define TX_RATE_12M ((u8)(120 / 5)) /* 11g basic rate */ > +#define TX_RATE_24M ((u8)(240 / 5)) /* 11g basic rate */ > +#define TX_RATE_9M ((u8)(90 / 5)) > +#define TX_RATE_18M ((u8)(180 / 5)) > +#define TX_RATE_36M ((u8)(360 / 5)) > +#define TX_RATE_48M ((u8)(480 / 5)) > +#define TX_RATE_54M ((u8)(540 / 5)) > > static inline bool is_11b_rate(u8 rate) > { > -- > 2.20.1 > > _______________________________________________ > devel mailing list > devel@linuxdriverproject.org > http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel Hi, This is the friendly patch-bot of Greg Kroah-Hartman. You have sent him a patch that has triggered this response. He used to manually respond to these common problems, but in order to save his sanity (he kept writing the same thing over and over, yet to different people), I was created. Hopefully you will not take offence and will fix the problem in your patch and resubmit it so that it can be accepted into the Linux kernel tree. You are receiving this message because of the following common error(s) as indicated below: - You did not specify a description of why the patch is needed, or possibly, any description at all, in the email body. Please read the section entitled "The canonical patch format" in the kernel file, Documentation/SubmittingPatches for what is needed in order to properly describe the change. - You did not write a descriptive Subject: for the patch, allowing Greg, and everyone else, to know what this patch is all about. Please read the section entitled "The canonical patch format" in the kernel file, Documentation/SubmittingPatches for what a proper Subject: line should look like. If you wish to discuss this problem further, or you have questions about how to resolve this issue, please feel free to respond to this email and Greg will reply once he has dug out from the pending patches received from other developers. thanks, greg k-h's patch email bot