Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp645870rdb; Fri, 17 Nov 2023 08:43:11 -0800 (PST) X-Google-Smtp-Source: AGHT+IG+BMJmgKs/YjccnZL62y3SuCpDpHrt7lML7/5wtSKgWEpb/j+quHsrK0bmwy9mqPMk0lUO X-Received: by 2002:a17:903:22c7:b0:1cc:5c49:6b10 with SMTP id y7-20020a17090322c700b001cc5c496b10mr113475plg.17.1700239390999; Fri, 17 Nov 2023 08:43:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700239390; cv=none; d=google.com; s=arc-20160816; b=kR3WVtS89YTteyC2lhZpPLR3YXdGZYS1PnGPbPGPnUEHKgpWUgZ/A8qFpAMekm204c 5xTZl7kbhJAeRpvn/j3qSCM8819MXI7j32svWXri4UnUJv4dI7eSvna9pF9/p9iE63wn LIK76kaHwcuUdxIWnUCxi/hx7p3mgSlrwuSrAL4aj46XVshW55J67F+nR96jC5J3j2Bk 0UFQ8lzLxUoQazompqblYcSkoG+J0hPMI0M9gKjwG9SCOhxEXaBKSc7bwoF1uesMKmvE ksItyRAFWnusaT4Ja0xFkmB/iQqVz0X+dgRSQNdxtlzBE2z2WHbLK4UkAY7SKc5iH/wY CgLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version:date :message-id:subject:references:in-reply-to:cc:to:from:dkim-signature; bh=+ZOATJkjyv6OxguID8nJeKF/x27CH5PgnNbBgYwgwKU=; fh=4YAJgo+EAHzaTLdNhLXibT1yrkZROgQkxKjbZBPZjPM=; b=g3tAAfYUTgufZsPHWwHW44Cu0kMJjq/XHQpl4ZkEBlYEoGOcawKdFuiEYA7SR/dZBL Gf0CbXElGrytuBNa/v+6I+SY48/9ZBGDtNT+aXzJwxZa40RY+sGJDYGh6PALLoKhE4EC K99aZdiUioVO0fRp0dYJQBW/E7WIRv4y5IJ0LssUXmsW1YNQRr/Q9cXOo5S+dF+CpY+R Tlpdns9ZIUUfinHyF15Gja3/3vCmHhOki6FwyhaLbiysUQlDBk7dKcKQhxOqFtcihSz2 iwPFcRv6wQqsxJVhSPYebqM+ueq4SPzqVDekp21QYFOlO6aTn5Ocem4Q95KG692y0ky9 C6Aw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Mz6s4cXi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id u12-20020a170903124c00b001c3e732b8casi2240086plh.159.2023.11.17.08.43.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Nov 2023 08:43:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Mz6s4cXi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 076FF80A18EA; Fri, 17 Nov 2023 08:43:08 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235340AbjKQQmq (ORCPT + 99 others); Fri, 17 Nov 2023 11:42:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35926 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346116AbjKQQml (ORCPT ); Fri, 17 Nov 2023 11:42:41 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0B40DD4B for ; Fri, 17 Nov 2023 08:42:38 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 400B0C433C8; Fri, 17 Nov 2023 16:42:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1700239357; bh=0YO3W1z2caIL7bIq90ttl4T3ywvbM+YloArMTAnEaxU=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=Mz6s4cXinGnAZ+ilnphcYBrJqFdAtJ/lw0ZuBJYZNN9co6pIjsm6jTNi3/jnU7x9w ww8hOKh0A+mLjU5Fxznd93aRh+d/5L++/CHWVidqgvzlMZYyXB5Oq0S5/IeVjLwQyk kqNk16Vm+8SjXyddUpDYjbpXATkk32a0EPMid2cCOJBeWs/4CnqBAtZxOeC+xw/0GE 4vnz5tEbsCWujVvZREFVCyNFwnDasEz/wUqwYUN1eu9MYW/b9sALmLeXI5gGaaU+LN 94KVvDkYXaloq7X1UlWn7lXiLhjaJy+lLwu4/eSnZYTi6YnaAzblVxSiX0IHnWLjZc xbdjxa73df7OQ== From: Mark Brown To: David Lin Cc: lgirdwood@gmail.com, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, YHCHuang@nuvoton.com, KCHSU0@nuvoton.com, WTLI@nuvoton.com, SJLIN0@nuvoton.com, ctlin0.linux@gmail.com, kernel test robot In-Reply-To: <20231117043011.1747594-1-CTLIN0@nuvoton.com> References: <20231117043011.1747594-1-CTLIN0@nuvoton.com> Subject: Re: [PATCH] ASoC: nau8822: Fix incorrect type in assignment and cast to restricted __be16 Message-Id: <170023935469.1567036.15285427485660372538.b4-ty@kernel.org> Date: Fri, 17 Nov 2023 16:42:34 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.13-dev-0438c X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Fri, 17 Nov 2023 08:43:08 -0800 (PST) On Fri, 17 Nov 2023 12:30:12 +0800, David Lin wrote: > This issue is reproduced when W=1 build in compiler gcc-12. > The following are sparse warnings: > > sound/soc/codecs/nau8822.c:199:25: sparse: sparse: incorrect type in assignment > sound/soc/codecs/nau8822.c:199:25: sparse: expected unsigned short > sound/soc/codecs/nau8822.c:199:25: sparse: got restricted __be16 > sound/soc/codecs/nau8822.c:235:25: sparse: sparse: cast to restricted __be16 > sound/soc/codecs/nau8822.c:235:25: sparse: sparse: cast to restricted __be16 > sound/soc/codecs/nau8822.c:235:25: sparse: sparse: cast to restricted __be16 > sound/soc/codecs/nau8822.c:235:25: sparse: sparse: cast to restricted __be16 > > [...] Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [1/1] ASoC: nau8822: Fix incorrect type in assignment and cast to restricted __be16 commit: c1501f2597dd08601acd42256a4b0a0fc36bf302 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark