Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp600348imm; Wed, 8 Aug 2018 02:24:44 -0700 (PDT) X-Google-Smtp-Source: AA+uWPxJ8//93wUxoon5PeRqDtAhWUbQKHOZY+sCDL0OZJBlusjOOQ8isLql7UJeGXcgyERKi363 X-Received: by 2002:a17:902:c85:: with SMTP id 5-v6mr1836288plt.141.1533720284001; Wed, 08 Aug 2018 02:24:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533720283; cv=none; d=google.com; s=arc-20160816; b=CjadkyjbyzDecnq7nWOa2++p0IUZs5YSXEZyoLDm334OzRt66ehuxMuDBm4WnXOhlq p1suCVmCQB98p6Zh8Sr12Ucm8cLrSKlJN22iTmh54pB50KCCP4WLIJ/JkHLpGnsnFtiw /VMYVfUIFv+SHxRluoGr5aOZYnWxvJrcsFu/KwBCT4qj8uXuylqRqTIBBKbhcbiFack/ Fn2P7uneB9oT3F9x560qAJ5xzp7GPjPfzr2f6RpAddN5r0C+OXfSh9fAVmf31If4D0Or cjIF3Bjf61EKiXV1kU56nf8LtYvhffU+g++LSUFt463luosqlr/IqmL+HvL0t+FCPeaT L+DA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=XG+gxXald+OORNT/kN5p3VbieMzqOjeIOyg3rRDJJf4=; b=GbiZMJ1am0gakcZU+EWgW9CY7FTPT1X8sGZnLRWL9LuFRNsExfgoSMJ517KlwCvetB iwegy1HOVwNxg36Lim29beSDcam0uLfMp1XJrf5EGwZWconz3u1duAQCTqeV9XCW6dCE T1mYiC0KxQFvGzScUYa4DVi5xG7DY4jJdlqJ93slJa+rz4P+BBprv2n4fjh21SUyGTGW vUdOlEaqGFCSmRA8pJmUogqBuZ0CRLU/2UE2sSlAoqhXYhm+aDCGvNS2HBWosorPA/Qj lHyEpTmIoDpd2UJVv0jh7UrudEVQfqmrjHDlUqR2Ea5V0xo+LSpktvT95SDWlABUHX+3 L4xQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 17-v6si3709753pgp.289.2018.08.08.02.24.29; Wed, 08 Aug 2018 02:24:43 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727486AbeHHLlt (ORCPT + 99 others); Wed, 8 Aug 2018 07:41:49 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:52084 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727187AbeHHLlt (ORCPT ); Wed, 8 Aug 2018 07:41:49 -0400 Received: from localhost (unknown [194.244.16.108]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 822FEC7F; Wed, 8 Aug 2018 09:22:59 +0000 (UTC) Date: Wed, 8 Aug 2018 11:22:57 +0200 From: Greg KH To: Frank Werner-Krippendorf Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, Larry.Finger@lwfinger.net Subject: Re: [PATCH] Staging:rtl8712: Style - Removed inline block comment to fix "Statements should start on a tapstop" Message-ID: <20180808092257.GA4097@kroah.com> References: <1533498066-31466-1-git-send-email-mail@kripp.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1533498066-31466-1-git-send-email-mail@kripp.ch> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Aug 05, 2018 at 09:41:06PM +0200, Frank Werner-Krippendorf wrote: > Removed 5 inline comments "/*volatile*/" rtl87x_event.h, to fix > a coding style issue "Statements should start on a tabstop" > detected by checkpatch.pl script. > > Signed-off-by: Frank Werner-Krippendorf > --- > drivers/staging/rtl8712/rtl871x_event.h | 10 +++++----- > 1 file changed, 5 insertions(+), 5 deletions(-) > > diff --git a/drivers/staging/rtl8712/rtl871x_event.h b/drivers/staging/rtl8712/rtl871x_event.h > index 5171379..2e59e8e 100644 > --- a/drivers/staging/rtl8712/rtl871x_event.h > +++ b/drivers/staging/rtl8712/rtl871x_event.h > @@ -90,13 +90,13 @@ struct event_node { > unsigned char *node; > unsigned char evt_code; > unsigned short evt_sz; > - /*volatile*/ int *caller_ff_tail; > + int *caller_ff_tail; > int caller_ff_sz; > }; > > struct c2hevent_queue { > - /*volatile*/ int head; > - /*volatile*/ int tail; Those "volatile" seem to imply that something is needed for these variables. Please check to ensure that these are ok to remove in that there is the proper locking for these types of things. thanks, greg k-h