Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp5902493rwe; Tue, 18 Apr 2023 13:24:42 -0700 (PDT) X-Google-Smtp-Source: AKy350YTo4wSYrouRYeQQHqGUxmSpv30fUHHzOVPBSitxb1yPKkaHm9oOcQO2RJKQxMNxwYPdMXR X-Received: by 2002:a05:6a20:431d:b0:f0:a8e7:6dbb with SMTP id h29-20020a056a20431d00b000f0a8e76dbbmr904689pzk.44.1681849482565; Tue, 18 Apr 2023 13:24:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681849482; cv=none; d=google.com; s=arc-20160816; b=F3GrKsJKkEC3ETE4aUGTHJFO8GUDpVLoe2RflmHPjZ1IAsRHGLG8IYC8rMip6hHB+C qzUevoGrvqJPsTMaoiWutml+jRXobwIJecyuypx8JB7zL4tMHxdYSnK8WUgOSMu/IKZQ zty8EB2lcROUNL31VswJd1lQq10ypLmk+Agswx8S8ptms4aYpwszCY3DwmXOGXELFXCh 6Zy/2NxnOWHxh9ic4jD8kYnFKsy+K6/fn8hJr3gUrwOe5oKOnuThQb5weEgaQfYdXbtF GE5TfrpRmtvDg2622dMPVjcSDJ3dubVeDX3r+iCsSvlkDRgvVXCplS2em0RAjbnvnAss xDxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:date:message-id :from:subject:content-transfer-encoding:mime-version:dkim-signature; bh=vqtrc7fsFtad4Md4w5HRM8sZHcs74aw/q35Ed0wOmzA=; b=p0O1ceP+7yDe+lMjdHuWo436agPtqaAMKtB9Cy8NDcEW0YyKuNA/jZ+Z6h4i6yHUTP mfyRHL9eZcF9zlmKYGNjXHeZTkl50WkllV8mLxFsPcpE/FpQa3hd/uUv0G9ZYmJ2E371 vcbYN4+WcxlIG2fM8BYKwDIr7vLNXRlyBKUeP5UqFj25EL+ObsGM0C304bmQCXlF4Uob BzsAviw9/SVevuE21dY2U40mjbX0KiwbNeusCpIU7D84a+bv/HbxfI/ZXURrP7NK6sj6 Y7t8c0P2RVsVW9cEosSAVsTMQvLwS4iX0Pj997ZxVBFDLO1jypo6CfdT0Twv7JZlYlrz mTBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=CYKo1mFR; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a66-20020a621a45000000b0062565210347si14607723pfa.275.2023.04.18.13.23.58; Tue, 18 Apr 2023 13:24:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-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=@kernel.org header.s=k20201202 header.b=CYKo1mFR; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232664AbjDRUBU (ORCPT + 99 others); Tue, 18 Apr 2023 16:01:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56840 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232354AbjDRUBQ (ORCPT ); Tue, 18 Apr 2023 16:01:16 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AACC9B762 for ; Tue, 18 Apr 2023 13:01:12 -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 0A3C7638A3 for ; Tue, 18 Apr 2023 20:01:12 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 6DAF0C4339C; Tue, 18 Apr 2023 20:01:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1681848071; bh=O+Rn60PqnlMi7dHxyTt7C7SYHQYoK0QqOoDYBv1BuzY=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=CYKo1mFRUr9HndAlnJaToXzsAnV0k1mMVsOkFTHuzKoobVyB1oI+9MlevLigOm0LB OSfAFHmNHfZ2pNld1TYg1AAi3awRMoIwa6a7c/sgwx/c4JZLU+bqRoV0ZMlL70/Qqo Db3D5SMuYZn7XG92CYMlapHaXk3zTRmY+JajV26Xu08qTLVvMFxc4nCypNaqQEUyQA POtl0x6oKmokSEO/loTlQR4KWZ8QCXhYllGM+cdij+EmMA+9YK+/VuP3aUcdhlvq69 NU0wJmXXfAcqmsiccadEbnGCMTXGb5200SwUxfgfSE0f4IFuuzZLa4nQjIjmgTD+nm Jp7dAH6jAKNKQ== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id 56DE7E4D013; Tue, 18 Apr 2023 20:01:11 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH] Bluetooth: btnxpuart: Fix sparse warnings From: patchwork-bot+bluetooth@kernel.org Message-Id: <168184807135.10886.14421946935057816182.git-patchwork-notify@kernel.org> Date: Tue, 18 Apr 2023 20:01:11 +0000 References: <20230418000704.1937843-1-luiz.dentz@gmail.com> In-Reply-To: <20230418000704.1937843-1-luiz.dentz@gmail.com> To: Luiz Augusto von Dentz Cc: linux-bluetooth@vger.kernel.org X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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-bluetooth@vger.kernel.org Hello: This patch was applied to bluetooth/bluetooth-next.git (master) by Luiz Augusto von Dentz : On Mon, 17 Apr 2023 17:07:04 -0700 you wrote: > From: Luiz Augusto von Dentz > > This fixes the following sparse warnings: > > drivers/bluetooth/btnxpuart.c:681:23: sparse: sparse: > restricted __le16 degrades to integer > drivers/bluetooth/btnxpuart.c:690:82: sparse: > sparse: incorrect type in argument 2 (different base types) > @@ expected unsigned short [usertype] req_len > @@ got restricted __le16 [usertype] len @@ > drivers/bluetooth/btnxpuart.c:690:82: sparse: > expected unsigned short [usertype] req_len > drivers/bluetooth/btnxpuart.c:690:82: sparse: > got restricted __le16 [usertype] len > drivers/bluetooth/btnxpuart.c:694:84: sparse: > sparse: incorrect type in argument 2 (different base types) > @@ expected unsigned short [usertype] req_len > @@ got restricted __le16 [usertype] len @@ > drivers/bluetooth/btnxpuart.c:694:84: sparse: > expected unsigned short [usertype] req_len > drivers/bluetooth/btnxpuart.c:694:84: sparse: > got restricted __le16 [usertype] len > drivers/bluetooth/btnxpuart.c:708:23: sparse: > sparse: incorrect type in assignment (different base types) > @@ expected unsigned int [usertype] requested_len > @@ got restricted __le16 [usertype] len @@ > drivers/bluetooth/btnxpuart.c:708:23: sparse: > expected unsigned int [usertype] requested_len > drivers/bluetooth/btnxpuart.c:708:23: sparse: > got restricted __le16 [usertype] len > drivers/bluetooth/btnxpuart.c:787:78: sparse: > sparse: incorrect type in argument 2 (different base types) > @@ expected unsigned short [usertype] chipid > @@ got restricted __le16 [usertype] chip_id @@ > drivers/bluetooth/btnxpuart.c:787:78: sparse: > expected unsigned short [usertype] chipid > drivers/bluetooth/btnxpuart.c:787:78: sparse: > got restricted __le16 [usertype] chip_id > drivers/bluetooth/btnxpuart.c:810:74: sparse: > sparse: incorrect type in argument 2 (different base types) > @@ expected unsigned short [usertype] req_len > @@ got restricted __le16 [usertype] len @@ > drivers/bluetooth/btnxpuart.c:810:74: sparse: > expected unsigned short [usertype] req_len > drivers/bluetooth/btnxpuart.c:810:74: sparse: > got restricted __le16 [usertype] len > drivers/bluetooth/btnxpuart.c:815:76: sparse: > sparse: incorrect type in argument 2 (different base types) > @@ expected unsigned short [usertype] req_len > @@ got restricted __le16 [usertype] len @@ > drivers/bluetooth/btnxpuart.c:815:76: sparse: > expected unsigned short [usertype] req_len > drivers/bluetooth/btnxpuart.c:815:76: sparse: > got restricted __le16 [usertype] len > drivers/bluetooth/btnxpuart.c:834:16: sparse: > sparse: restricted __le32 degrades to integer > drivers/bluetooth/btnxpuart.c:843:55: sparse: > sparse: restricted __le32 degrades to integer > drivers/bluetooth/btnxpuart.c:844:36: sparse: > sparse: incorrect type in argument 3 (different base types) > @@ expected unsigned long [usertype] > @@ got restricted __le16 [usertype] len @@ > drivers/bluetooth/btnxpuart.c:844:36: sparse: > expected unsigned long [usertype] > drivers/bluetooth/btnxpuart.c:844:36: sparse: > got restricted __le16 [usertype] len > > [...] Here is the summary with links: - Bluetooth: btnxpuart: Fix sparse warnings https://git.kernel.org/bluetooth/bluetooth-next/c/183d1a0466eb You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html