Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp4492473ybb; Tue, 7 Apr 2020 08:31:44 -0700 (PDT) X-Google-Smtp-Source: APiQypI67OJp7AkLwCyF/lMHk8U9fJPSaY5KE003tJQcbbzg8jvKvUZ5MvhcsGCL9OTH4f9O91Y6 X-Received: by 2002:a9d:5191:: with SMTP id y17mr2107499otg.267.1586273504036; Tue, 07 Apr 2020 08:31:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586273504; cv=none; d=google.com; s=arc-20160816; b=kx67IhCAZHw0VI67EeFLrezZzEdypQvEFy9IkfsDvuNrI6VtsE35+W2gvR70pYdOps RyNyZvaoTXXY8w7SEfGt64RyjDeSN8nojc6d44bDPL7OzSrPscE+2IdIVfLUWLnetBW5 KYsFanxaUfe01qSRciLnM7IJol32stP81w1ifGAJwUEVMq9tvV4amIA4OiJaX/jgnPQN gOLii7erSVyMIb+0kt0lKPjOPe+qym4ycS+H33Lx4Rq+4JjH0RxNXCQzL+Z9mRKdHPUO O1BkykaaOSuHO9GMT+ALLi1drhz4d4sOQvA1jX56FIpzEmTT8yc0lP0hAHy6WjVAZUVr qDow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:user-agent :in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:dkim-signature; bh=12nFaNGoffI7ZVwrBSqboTL0H1AuLfvwLiyjCQ84zDE=; b=WNqcWT9xxZs1W874eJh5eyvTUW3sHAcbra7wJ9lVAOVfF1aPREFneZoT6XmYt8/M5y sjY6r74LNno3innez33Nl7Nr5Qe+ERV95+yadw3N6kVS1xdClnM+317WWDYGG6H/bVzh AdJ0KqYhabW2MkwxUQpSiMgw6FCnyEGIokiPfCT5tLLashcRCjnDm/0/5JkAJzn5Bl5W 79D2lp+4xsOV6JAv/TC0XUlyX2LYyOQgYahIQzJcSYjkrk7ojv9NXK5KNbUgo5YwTbZw dEQFDeO27oMQ/8RcBGbgVtGyH3YNmkU9WPLdB/MxzpYXEmWmkzdntmZHLR07uxJC/2e2 sU4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=kaGPRZ5P; 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 k70si1255256oih.24.2020.04.07.08.31.30; Tue, 07 Apr 2020 08:31:44 -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; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=kaGPRZ5P; 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 S1729388AbgDGP2m (ORCPT + 99 others); Tue, 7 Apr 2020 11:28:42 -0400 Received: from mout.gmx.net ([212.227.15.19]:38351 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728306AbgDGP2l (ORCPT ); Tue, 7 Apr 2020 11:28:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1586273312; bh=PW9nWiKEd4LakOhfHv+P2aNfB5cbJPHqrZElCVNMsHI=; h=X-UI-Sender-Class:Date:From:To:Cc:Subject:References:In-Reply-To; b=kaGPRZ5Pb5Jl4JT5OHwQs9zQoba7YCf9yp6aQmBYtk79E+YnZgZlQAlthQA3XtJ2L HdmIw0jBk6F6Y3ubpUOwQNVxUX2FM6B+LZzlhfWFn7nbrEyfod6zD2bWnvjvuaQ9gI eFJH0S6p0pa9HjbYHmOsercsWlZiqih1E0YeN5ig= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from ubuntu ([83.52.229.196]) by mail.gmx.com (mrgmx005 [212.227.17.184]) with ESMTPSA (Nemesis) id 1MTABZ-1jjrDk4Al5-00UeuO; Tue, 07 Apr 2020 17:28:32 +0200 Date: Tue, 7 Apr 2020 17:28:19 +0200 From: Oscar Carter To: Greg Kroah-Hartman Cc: Oscar Carter , devel@driverdev.osuosl.org, Malcolm Priestley , linux-kernel@vger.kernel.org, Forest Bond , Dan Carpenter Subject: Re: [PATCH 2/3] staging: vt6656: Use define instead of magic number for tx_rate Message-ID: <20200407152819.GA3495@ubuntu> References: <20200404141400.3772-1-oscar.carter@gmx.com> <20200404141400.3772-3-oscar.carter@gmx.com> <20200406142212.GA48502@kroah.com> <20200406163835.GB3230@ubuntu> <20200406175808.GB167424@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200406175808.GB167424@kroah.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-Provags-ID: V03:K1:/PHq5dWE5ZsCFqBfzBcgj4+7MRSAkm+q4J6GW5SBYhn4bC2tRUr POqW/pDtJ5STZOQVSpsI4KgnQymPOJTcTtWLXbB0E6PKgEcXdfXNnVNvoS4M+Ne9Soll92U grmm61i5EUQLs1Lj7oiPngN/oNHNjJQ7+1mJftE9J1xZbo2+/xACpfonCFMyTE45R83bewl 3ZielW7WQjJjdjDyQ3ggw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:KWHlGHO0NxA=:DwVW0Dc6tAB3N55mcpQllp F5GlXjvXA1wcDtMZDMJdUaq/sLx8BS4/HVf9V+R6VM9sS+us9fHmDvemRcfcxCXyn3qGk+jVK KSl7QA0ZAeiy9xOV4uhSAzR8VYFlXzHG7UExOJfvN5vpGk0199TFVEWAhZ1IhZ07FhfZ4kqKm ku/HLJavaPf3z3zmFMIQVze6mkER8O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/C GOjS9OeeN30dPiWbR Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Apr 06, 2020 at 07:58:08PM +0200, Greg Kroah-Hartman wrote: > On Mon, Apr 06, 2020 at 06:38:36PM +0200, Oscar Carter wrote: > > On Mon, Apr 06, 2020 at 04:22:12PM +0200, Greg Kroah-Hartman wrote: > > > On Sat, Apr 04, 2020 at 04:13:59PM +0200, Oscar Carter wrote: > > > > Use the define RATE_11M present in the file "device.h" instead of = the > > > > magic number 3. So the code is more clear. > > > > > > > > Signed-off-by: Oscar Carter > > > > Reviewed-by: Dan Carpenter > > > > --- > > > > drivers/staging/vt6656/baseband.c | 3 ++- > > > > 1 file changed, 2 insertions(+), 1 deletion(-) > > > > > > > > diff --git a/drivers/staging/vt6656/baseband.c b/drivers/staging/v= t6656/baseband.c > > > > index 3e4bd637849a..a785f91c1566 100644 > > > > --- a/drivers/staging/vt6656/baseband.c > > > > +++ b/drivers/staging/vt6656/baseband.c > > > > @@ -24,6 +24,7 @@ > > > > > > > > #include > > > > #include > > > > +#include "device.h" > > > > #include "mac.h" > > > > #include "baseband.h" > > > > #include "rf.h" > > > > @@ -141,7 +142,7 @@ unsigned int vnt_get_frame_time(u8 preamble_ty= pe, u8 pkt_type, > > > > > > > > rate =3D (unsigned int)vnt_frame_time[tx_rate]; > > > > > > > > - if (tx_rate <=3D 3) { > > > > + if (tx_rate <=3D RATE_11M) { > > > > if (preamble_type =3D=3D 1) > > > > preamble =3D 96; > > > > else > > > > -- > > > > 2.20.1 > > > > > > This doesn't apply to my tree :( > > > > > Sorry, but I don't understand what it means. This meant that I need to= rebase > > this patch against your staging-next branch of your staging tree ? > > Yes, and 3/3 as well, because I dropped the 1/3 patch here. > Ok, I will create a new patch series version rebased against your staging-= next branch and I will send it. > thanks, > > greg k-h thanks, oscar carter