Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp173050ybk; Tue, 12 May 2020 19:11:37 -0700 (PDT) X-Google-Smtp-Source: APiQypINxW2tjQUiN0I4Uqiewq3GY5zm3IrhJK6RD+Cs5/dFNH2b+Fmx6RSrSNob7oly+avi2oVG X-Received: by 2002:aa7:c419:: with SMTP id j25mr15551896edq.209.1589335897226; Tue, 12 May 2020 19:11:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589335897; cv=none; d=google.com; s=arc-20160816; b=dtezyT1j+Dtc5+YtQhz7yl1Yt/9l+p7D9Qkcww8xUx1X7WVcIQqGNqpP7N8EMM3KkC 9c2ZNAmrN9zvf32Dx2vaLdXDpdHu+gzGq2MoDmGsRS1kevdS7CyzBJUvPlN1urmO/g6x 6iAeohZ/u1vzDph7Wq1Frf4Lev8lKOt5HE+1YuC9KLbUCDaAWuobgayDwYik89o5b5b0 jt7uHcKje5DIzV6xhadAfNv3rttJBYGEcn/UgAPIGjQiFO8yV1IpYb6s20+5F53pGqw9 1QbTFBrFk9oiGxRyjlStf3C8fMRFzJ17Gx/ZBVTUIj1e5U8fp+4OY0mdSLylB1jIZ758 MHQA== 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:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=zcD9lBfIOsrbGLPLwHavFpU04q9rS7x1jNQUtnqQyIk=; b=zZwUgR+5r3SppzF3z76mwRnXsKwZbOk958k8847dPCP8cqT7zCCxYZkdaQbC2w8fuV mSCYgLSRM0zoAYUXyfJ9XoXSQuSEMqJZgcPa3nZHXZwn6YsJKXVeVvXRXoQuT+WPnvSC od4FopOBN7xVDffRn+3ngP54dlNHJ1bffjvV64q1rfBeIfR2oQcinZygmhmXwZRkZsIQ J+Z3g29RikqgNACkfs997+FOgJWnv1c3KIPuWPPdVG/og38FCvnlKXovMOdOvCMsDj99 QqhoPhbXLMKlf7txbfI/5Y5yKh+BjErMkc+s4s6mWP1f9h6KTQb0us1B/qk6QKGYl3HO k8kQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=gK3dvzuS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bo2si9179394edb.438.2020.05.12.19.11.05; Tue, 12 May 2020 19:11:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=gK3dvzuS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728528AbgEMCJo (ORCPT + 99 others); Tue, 12 May 2020 22:09:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34300 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726885AbgEMCJm (ORCPT ); Tue, 12 May 2020 22:09:42 -0400 Received: from mail-pj1-x1043.google.com (mail-pj1-x1043.google.com [IPv6:2607:f8b0:4864:20::1043]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9DD7BC05BD09 for ; Tue, 12 May 2020 19:09:42 -0700 (PDT) Received: by mail-pj1-x1043.google.com with SMTP id j13so286464pjm.2 for ; Tue, 12 May 2020 19:09:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=zcD9lBfIOsrbGLPLwHavFpU04q9rS7x1jNQUtnqQyIk=; b=gK3dvzuSyDVkWgPlzx40qbLhAs0owj9fIDJoyReMIZDN7XH+poriF7uHhlAQ+w+Fef DfYQXms3qL1YXiyZFcegyl/miVUznOD7rrVn1aG88QwK6QTyvVR2rQ9JGnEXNfUDGcCG FsW+Xj94YC0MRj70Y4eNIEyKrmXxmy0uYMqWc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=zcD9lBfIOsrbGLPLwHavFpU04q9rS7x1jNQUtnqQyIk=; b=Jqd2OhiuInyVck4jHmd5me8cmWHOpY+v7AI8b/z+gJYniVuZY2XQkrubF0XQpnbGP2 iR/QH1wDVq8FHFautKm9c8bwGDq1dKRXmuued+vfIdf/a9HvZ+i4g1PHgbHSJq3TqVux tNsAvZcyqdDFXfiTHwmnLVHic9TdXaF1DXVx5+7fX1wVDKGdggFKhGvQf0f7qtAiev3I Pw5ORB5jssKny/itLOwx++jl0xB7j58K4zSYmeI1bpTos6ZApWCIUe3zPV45SENT0cPt AcQGg0Sh9zmyMAsGv/BPEa5mHLetpgdzIXgUUzQsXOtJHC5SDxvesd6e8JJm5mE6pWWQ mwkA== X-Gm-Message-State: AGi0PuZnf7POH+Hq1f5jP4q4gmUJQVzKf9yGYLDrtZv9IdKhr23meZws 4Q5u+s3VYzugx+n4TjlMqad/Jw== X-Received: by 2002:a17:90b:2388:: with SMTP id mr8mr30064911pjb.97.1589335782204; Tue, 12 May 2020 19:09:42 -0700 (PDT) Received: from apsdesk.mtv.corp.google.com ([2620:15c:202:1:e09a:8d06:a338:aafb]) by smtp.gmail.com with ESMTPSA id x7sm13456749pfj.122.2020.05.12.19.09.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 May 2020 19:09:41 -0700 (PDT) From: Abhishek Pandit-Subedi To: marcel@holtmann.org, linux-bluetooth@vger.kernel.org Cc: chromeos-bluetooth-upstreaming@chromium.org, Abhishek Pandit-Subedi , "David S. Miller" , Johan Hedberg , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Jakub Kicinski Subject: [PATCH 1/2] Bluetooth: Fix incorrect type for window and interval Date: Tue, 12 May 2020 19:09:32 -0700 Message-Id: <20200512190924.1.Ibdf1535b0d4c63aaf337161a333b419d6d32c364@changeid> X-Mailer: git-send-email 2.26.2.645.ge9eca65c58-goog In-Reply-To: <20200513020933.102443-1-abhishekpandit@chromium.org> References: <20200513020933.102443-1-abhishekpandit@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The types for window and interval should be uint16, not uint8. Signed-off-by: Abhishek Pandit-Subedi --- net/bluetooth/hci_request.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/bluetooth/hci_request.c b/net/bluetooth/hci_request.c index 3f470f0e432c7..f6870e98faab2 100644 --- a/net/bluetooth/hci_request.c +++ b/net/bluetooth/hci_request.c @@ -890,7 +890,7 @@ void hci_req_add_le_passive_scan(struct hci_request *req) struct hci_dev *hdev = req->hdev; u8 own_addr_type; u8 filter_policy; - u8 window, interval; + u16 window, interval; if (hdev->scanning_paused) { bt_dev_dbg(hdev, "Scanning is paused for suspend"); -- 2.26.2.645.ge9eca65c58-goog