Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp5326541ybl; Tue, 4 Feb 2020 11:50:48 -0800 (PST) X-Google-Smtp-Source: APXvYqz+X9m05MonCXn4iuDgxMdRELehk79h5QRHbTDdlJUbrqsKwyYivWM8G00XkGQmRLX9MLIt X-Received: by 2002:a9d:7e90:: with SMTP id m16mr16654264otp.227.1580845848406; Tue, 04 Feb 2020 11:50:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580845848; cv=none; d=google.com; s=arc-20160816; b=mfjule2giIcfhCCgAsssafSdv3dqbWHMfEE4CpgReOIy7xt0pbmNbhkOucNTxXltY7 WxI5BcpUmLBvr0oRNFFElSbKxVEow5BZHtgz61L7Jc+bqdRoy7ZT8BA+zdqbKfnmnNgC vC8f9dqUq8u/vqg7KZFuvdGRbtAmwmwjibuPuovmetzebVtp10EEP8XZu8z7WRFi7iMH cSDBptL+/xvclxAtkzVZCZLt7ciFRnVSmrW6p31Wn0StBIX12mcLSJfNPacPqOFM3OFi 5SDf1jnV0Labzlc6FEz7FCYUJWQ+RzW6vviBdRqY08eL+9FiXAou039FhfQOCHOpsmyd u0jA== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=6JA04gqzlOK99JzNgksNDLxM2+WYOhuyFwCSsasycRg=; b=0DapHDxoS1kEQ2zizQb1kIdGVhYYu41nVkGu46TR69s0vxDwlO4Mc/MZkBhdWDb434 AHXy04qDE7+gyc5DN/1qyAC5Jg0D0wJPpUgQcbfWxWT9fSZYYochtPixRCG+5mVpyWb3 vxwIn2fI+jH2udLAv8f2O1daSMj5OZqAwRcv0VUJQIY7lIK8FyvgbPIqYqftpCGooZFu GcsiyoYMPlfAvGRXQqeLWjoc0R6hjl7le8VobcdYyEjqiqBWneXhXtxuarCisXgWyDk6 e3LbGMbSgYYgxWbz6aM5fzw1nENIQNuDpvJDd4ypAqgdvny3cYlYE0hMqaUxtIeojUFk qIMQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=svr43D9o; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u130si11037405oif.94.2020.02.04.11.50.28; Tue, 04 Feb 2020 11:50:48 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-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=@gmail.com header.s=20161025 header.b=svr43D9o; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727441AbgBDTuW (ORCPT + 99 others); Tue, 4 Feb 2020 14:50:22 -0500 Received: from mail-wm1-f68.google.com ([209.85.128.68]:56271 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727314AbgBDTuW (ORCPT ); Tue, 4 Feb 2020 14:50:22 -0500 Received: by mail-wm1-f68.google.com with SMTP id q9so4646238wmj.5 for ; Tue, 04 Feb 2020 11:50:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=6JA04gqzlOK99JzNgksNDLxM2+WYOhuyFwCSsasycRg=; b=svr43D9oXlyyOIc1IEDxyoBcS1ckQD2MSjULN9afs/CR92O1AxhxHS6YYa+mcweg2D rvjo3MdHgtFmnIqdcVfUkfshZ06AEgtKXkHNot+8B3EgU0IkyNHFDusl3wo6cAvtWG3/ EnMHUlT+1LlbpZDagVI/bBQ6pR8vEc3T4U8KUOk1n4FOUsv2wcium+EjAPGQdNIEACik H12R72t/fg7EYdp0H07wwnficfQAE/LQYUp2ixTmO0KPrMDxMzrUlNCF01rp0L8LYNg1 5ndSG2SJROXpGZCKBUktYuPDhywOdVLKBv4e4VvsfUJ+j+QRn1UrEBmnTHhFit2sO3Cp Ffbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=6JA04gqzlOK99JzNgksNDLxM2+WYOhuyFwCSsasycRg=; b=YPe1Be9l9fJy1aBLtb6OY+DRiDUoH9lb7iK/zLrnNy2MzNFzL0D1d3/HvYDwFgxZb5 CGhJ315XXjmCKeG5KaQmgaBE6nfRJVhWIm1SbmRd2PT4NaKlVPXffd0aJFMlpdXfwkX3 Tl7DaSv0t+l/W0LV8NpnYFNr8xaG/eZBPtw2A35t9VcdmhW9WPR0psoVVPdELtunhYHT V5ifrXCVrKwqz9s9v8qiZTrxb1IudKUmGSbTBUNadXQ1NK81LpHy7U/HX/QOu6+NuT+M mJqBU1Ufw0fClYdlN9xA4Do2RpkjG9M7vdMsq36PB+rcdRzBjX9gd8UhWx2PKaEAZw/5 TGMg== X-Gm-Message-State: APjAAAXN3F4b9uZdnBx57Z530kSKTxXMp+jGb7pX0Gze8KosB/mIReo4 ChNgfH3duEzVqhpVaixt695WtkwK X-Received: by 2002:a1c:ac46:: with SMTP id v67mr579407wme.153.1580845820398; Tue, 04 Feb 2020 11:50:20 -0800 (PST) Received: from [192.168.43.57] (94.197.120.219.threembb.co.uk. [94.197.120.219]) by smtp.gmail.com with ESMTPSA id o4sm16140290wrw.15.2020.02.04.11.50.19 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 04 Feb 2020 11:50:20 -0800 (PST) Subject: Re: [PATCH 1/2] staging: vt6656: fix sign of rx_dbm to bb_pre_ed_rssi. To: Dan Carpenter Cc: Greg Kroah-Hartman , "devel@driverdev.osuosl.org" , linux-wireless@vger.kernel.org References: <9b3b92d6-3672-00be-d0b5-ccd222236ba9@gmail.com> <20200203094222.GM1778@kadam> From: Malcolm Priestley Message-ID: Date: Tue, 4 Feb 2020 19:50:18 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.2 MIME-Version: 1.0 In-Reply-To: <20200203094222.GM1778@kadam> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On 03/02/2020 09:42, Dan Carpenter wrote: > On Sun, Feb 02, 2020 at 12:27:25PM +0000, Malcolm Priestley wrote: >> bb_pre_ed_rssi is an u8 rx_dm always returns negative signed >> values add minus operator to always yield positive. >> >> fixes issue where rx sensitivity is always set to maximum because >> the unsigned numbers were always greater then 100. >> >> Cc: stable >> --- ... >> drivers/staging/vt6656/dpc.c | 2 +- > > It appears that the vt6655 driver has the same issue. In the vt6655 it is not used. Regards Malcolm