Received: by 2002:a05:6a10:83d0:0:0:0:0 with SMTP id o16csp44361pxh; Thu, 7 Apr 2022 13:28:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwSCMHWo+NjdhMULRChsSImqTCk4j7VVcmGCBcjpcnQf/fxAICsnCZRb56AlFQPDTgDpQwv X-Received: by 2002:a17:902:8506:b0:154:8692:a7ac with SMTP id bj6-20020a170902850600b001548692a7acmr15847669plb.10.1649363311485; Thu, 07 Apr 2022 13:28:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649363311; cv=none; d=google.com; s=arc-20160816; b=Bb8lXE6lJPj34HWH4DHPKh1eltuMw6+yz3s/3qdT3XB+QVfkM0+10FM2u1wuKj8GS0 YqN/+VRBg8jXzwEthwEUQPQXpzV77KNZTeLOiwtfoWype5bsX2oQXspTFcugEcrN5hHO PHaCIM7lr40jTxxPEBCqaOq2tJLc4l6aN/wxhGueKQdkiaD1JBe3TJR4+pDTqWvY4dxo 9DR6j+NqtUyQb0ahpqS7DxfERJVIUjFnaM2mGXaJJRDsk9zkDKWwph5+6QF9A0ao0K0S eS8Ab//nYzPs7WrreX1xdGfOa2nsQIpuEvBbfCClgosY2cpnrimWzB1+008dKp2vOiGk k8Dg== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=FjRwOnnj2E9ZdwvdyxYhWxXVxyLKoJNVxhyYn2Ercho=; b=Fd2/akTHY8SI1IGWEjQRD7EdzK/kaecUBWBKexmFcGSW17DVomTT2Tbn+bkN55Y28n lBo4ILUDySwFnWsCh6PjLkJZ5zohrCIBw1NXCikYr1Scm4cODgTlAbPgXIbA0LRl4JQU K+WTE60CV3V9DQckDwURS6rGO7qMedGgl77PJE5jVqz3yRzgG51nsw96yAP9YbqHN08V VHVkabDlf2iR1hVJmzSPiwy0BQTuywwUqUWf9U0X1nM15y0F6pKJCxrtRhmtAGfOPfa2 Cx7aSHiPiDjBxsiiEP3z7xqSmECMqXAKUZn83qV1FAJMjDI8Zkq360efcViHXROrjAcw GaeA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=OSTmqpdX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1: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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id c6-20020a170902aa4600b00153b2d1655csi559759plr.356.2022.04.07.13.28.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Apr 2022 13:28:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=OSTmqpdX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1: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: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 1D454363B32; Thu, 7 Apr 2022 12:43:29 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233325AbiDGSar (ORCPT + 99 others); Thu, 7 Apr 2022 14:30:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54368 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229710AbiDGSao (ORCPT ); Thu, 7 Apr 2022 14:30:44 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7451D117997 for ; Thu, 7 Apr 2022 11:28:44 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id E389F61D82 for ; Thu, 7 Apr 2022 18:28:43 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9239EC385A4; Thu, 7 Apr 2022 18:28:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1649356123; bh=KXuI+L3w9Z+hWbCVUNJjBVgqsQdywLD3Cgb4k1A4MyM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=OSTmqpdXdMR4dTBSJzbShdzgRXW9GFkSV2irjpwGelaRuzHAyMbxykVvNPt4aHEBF RfiTzGNF8wCVVZmS2mZbn+j2of8xoZxxZTHxzxGzn/BomOuW423R2HueDdq1gdIqSq PgXjawVP5VpA6hV4s7JpUM1lmJ67/18AKuOSSTBE= Date: Thu, 7 Apr 2022 20:28:39 +0200 From: Greg KH To: Alaa Mohamed Cc: outreachy@lists.linux.dev, Larry.Finger@lwfinger.net, florian.c.schilhabel@googlemail.com, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH v4] staging: rtl8712: remove unnecessary parentheses Message-ID: References: <20220407125947.8525-1-eng.alaamohamedsoliman.am@gmail.com> <96a1de63-5b66-b6a6-731e-d7263f3328a5@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <96a1de63-5b66-b6a6-731e-d7263f3328a5@gmail.com> X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 07, 2022 at 08:02:37PM +0200, Alaa Mohamed wrote: > > On ٧‏/٤‏/٢٠٢٢ ١٩:٤٦, Greg KH wrote: > > On Thu, Apr 07, 2022 at 02:59:47PM +0200, Alaa Mohamed wrote: > > > Reported by checkpatch: > > > > > > Remove unnecessary parentheses around structure field references > > > > > > Signed-off-by: Alaa Mohamed > > > --- > > > Changes in v2: > > > - Edit commit subject > > > - Edit commit message > > > - Fix the same check in more lines > > > - Remove space before '.skey' in > > > "memcpy(psta->tkiptxmickey.skey," in lines 84 and 86. > > > --- > > > Changes in v3: > > > return the space before '.skey' in > > > "memcpy(psta->tkiptxmickey.skey," in lines 84 and 86 > > > --- > > > Changes in v4: > > > edit commit message to be clearer. > > > --- > > Why did you send this patch twice? > That was by mistake , sorry When you do so, please let us know which to take, as it is hard to know if there was a difference or not. Realize that for some of us, we get hundreds of patches to review daily. Being obvious as to what to, and not to, ignore, is helpful. thanks, greg k-h