Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp10003331rwp; Thu, 20 Jul 2023 13:04:12 -0700 (PDT) X-Google-Smtp-Source: APBJJlHPOSVyGwLRIa0eruTmBoMQMs+RK7PHoVlWOaIv7i+modijjE+Dk7QG9byGpmRKY7iX4nd5 X-Received: by 2002:a17:90b:1284:b0:263:f776:8ba3 with SMTP id fw4-20020a17090b128400b00263f7768ba3mr440916pjb.9.1689883452122; Thu, 20 Jul 2023 13:04:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689883452; cv=none; d=google.com; s=arc-20160816; b=KPkJmy/yqkkvj5Bjh12hoIZxcWWAQ4Pn5InryUYmzJAl8JAJeV74M6Ja/CoEb+D3K5 Kmd3g/QuvZzcb7l/TjP8JD5qYaqiZtMBEIRE6Q5pR9bzwz3biopm192IyPt7aFCz6i/D VTx3DqyoSKCqEAvd3cY9LJNFsW559meHA2RY29b4iGwO8YwaXGCGeYIVlz/u9aD5ilEL Kqe8iUXyrRVnLrGw3YNb6AT6E0xF3fL0q9+SkWQBsPq7mGCedSarV3pg4XJ1VK4DP3Yx fgTeRbJZuiqnEY6TpeMq6f2nh5KdcXb9IY/6ZmfIVFLfsyquMH43WX7Z7gceEN9d5wRZ C7Mg== 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=EgqApK+H8gxnfanjLkBHPvd+MyEv8w5JM6ABJEpzt8Y=; fh=N1qQrbDrY1Yyvlf9++5PyA7zX3c3Cj2BZPW2+22z664=; b=prMnCTk4t+G5Wn8NbQrwIUIo5d7U8nqnIBzvujt8MweMxjpWXEItqfqXgziTOB5sNJ YqACiYDHiCnuUQpFCziSAUmjFIqXnomKI07Oj8W2E8tj5A+vk+HMu9mQRDRUNyhAM7SH hC4YWt1G5eLphp+5ZHOeqTAFBK917lox8GNWNSLhMsZpP4X8y6ww4Q1WV48jHktFCx0X q68Pe6OvKQd4UxuJzZCg02ugNyEfKrx9U9Iw4cFGuLlnM9uQ0PlSpjFdMqlrQiqC3O+s X/QvtHNh7zjFY+2rQoBhU3mKJrAkiA3umG6thnu772qjdeVLStxLKJjAKLPaNsyZGdK5 ebVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=XMTrufQ7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e34-20020a17090a6fa500b00263aff4cd15si4028028pjk.106.2023.07.20.13.03.58; Thu, 20 Jul 2023 13:04:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=XMTrufQ7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S230477AbjGTTeS (ORCPT + 99 others); Thu, 20 Jul 2023 15:34:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42542 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230463AbjGTTeR (ORCPT ); Thu, 20 Jul 2023 15:34:17 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2D779272C for ; Thu, 20 Jul 2023 12:34:11 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id BF6FC61C28 for ; Thu, 20 Jul 2023 19:34:10 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C9A2AC433C8; Thu, 20 Jul 2023 19:34:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1689881650; bh=x9POu8nwpWCKsGKV4M4myOjDZLVHqsNlbAI0nik7MCU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=XMTrufQ7wxYDKV4rmIASHji8yUu38DYaDuCIMA/01Xuhj74f3ZtP4EbafcszbxHLB wgqSSpFL3YmuDyDhtkZAwLhXe6FxCBL1zvNMBjX/GqsNizTak74niDlOWzgdc3NdRF m1Bn6pcaxcb/lZMUbijy9YMdR7+23dFKgRvOsxh4= Date: Thu, 20 Jul 2023 21:34:03 +0200 From: Greg KH To: Tree Davies Cc: Philipp Hortmann , dan.carpenter@linaro.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH] staging: rtl8192e: Rename variable bCurrentHTSupport Message-ID: <2023072048-skewed-demise-a536@gregkh> References: <6dee04ae-4129-cd7c-0d31-70d29b86c8ff@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 Sat, Jul 15, 2023 at 01:14:59PM -0700, Tree Davies wrote: > On Thu, Jul 06, 2023 at 10:48:56PM +0200, Philipp Hortmann wrote: > > On 7/6/23 03:59, Tree Davies wrote: > > > This patch renames variable bCurrentHTSupport to bcurrent_ht_support > > > to fix checkpatch warning Avoid CamelCase. > > > > > > Signed-off-by: Tree Davies > > > --- > > > drivers/staging/rtl8192e/rtl8192e/rtl_core.c | 2 +- > > > drivers/staging/rtl8192e/rtl8192e/rtl_wx.c | 2 +- > > > drivers/staging/rtl8192e/rtl819x_BAProc.c | 12 ++++++------ > > > drivers/staging/rtl8192e/rtl819x_HT.h | 2 +- > > > drivers/staging/rtl8192e/rtl819x_HTProc.c | 16 ++++++++-------- > > > drivers/staging/rtl8192e/rtllib_softmac.c | 16 ++++++++-------- > > > drivers/staging/rtl8192e/rtllib_softmac_wx.c | 2 +- > > > drivers/staging/rtl8192e/rtllib_tx.c | 8 ++++---- > > > 8 files changed, 30 insertions(+), 30 deletions(-) > > > > > > Hi Tree, > > > > when I try to apply your patch on the top of all the other patches I get the > > following error message: > > > > kernel@matrix-ESPRIMO-P710:~/Documents/git/kernels/staging$ git apply -v > > ~/Downloads/20230706-\[PATCH\]\ staging_\ rtl8192e_\ Rename\ variable\ > > bCurrentHTSupport-10002.txt > > Checking patch drivers/staging/rtl8192e/rtl8192e/rtl_core.c... > > Checking patch drivers/staging/rtl8192e/rtl8192e/rtl_wx.c... > > Checking patch drivers/staging/rtl8192e/rtl819x_BAProc.c... > > Checking patch drivers/staging/rtl8192e/rtl819x_HT.h... > > Checking patch drivers/staging/rtl8192e/rtl819x_HTProc.c... > > Checking patch drivers/staging/rtl8192e/rtllib_softmac.c... > > error: while searching for: > > crypt = ieee->crypt_info.crypt[ieee->crypt_info.tx_keyidx]; > > encrypt = ieee->host_encrypt && crypt && crypt->ops && > > ((strcmp(crypt->ops->name, "R-WEP") == 0 || wpa_ie_len)); > > if (ieee->ht_info->bCurrentHTSupport) { > > tmp_ht_cap_buf = (u8 *)&(ieee->ht_info->SelfHTCap); > > tmp_ht_cap_len = sizeof(ieee->ht_info->SelfHTCap); > > tmp_ht_info_buf = (u8 *)&(ieee->ht_info->SelfHTInfo); > > > > error: patch failed: drivers/staging/rtl8192e/rtllib_softmac.c:816 > > error: drivers/staging/rtl8192e/rtllib_softmac.c: patch does not apply > > Checking patch drivers/staging/rtl8192e/rtllib_softmac_wx.c... > > Checking patch drivers/staging/rtl8192e/rtllib_tx.c... > > > > > > My be the previous send patches are not taken then your chance is better > > that this one will fit. Will see what happens. > > > > > > You need to put your patches into a patch series. > > This reduces email traffic as the reviewer can just send one email and does > > not need to send four. > > > > A possible command for a patch series is looking like this: > > git format-patch -o ~/Documents/kernel/patches/ --cover-letter -n > > --thread=shallow --to="Greg Kroah-Hartman ,linux-staging@lists.linux.dev,linux-kernel@vger.kernel.org" > > 4bbbd60d84e15fdb7bffde98a687ed168a4dfbbd^..HEAD > > > > Use the git commit id of your first patch. > > > > Bye Philipp > > > > > > Philipp, > > I think I understand what I did wrong. Each of these original patches were > created/based from the same commit hash. So it makes sense that only the > first one applied would apply cleanly and the others would fail. Please redo them all and send them as a proper patch series. thanks, greg k-h