Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp8384684rwi; Tue, 25 Oct 2022 06:10:29 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5cl75+uhXhQrQZTXGTETRzhhTsGUggrwP4MDLuxRxFK93Izz1IEhutDZLX3yKZH/Er0NQl X-Received: by 2002:a63:dc4e:0:b0:46e:acf4:7589 with SMTP id f14-20020a63dc4e000000b0046eacf47589mr22075615pgj.170.1666703429043; Tue, 25 Oct 2022 06:10:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666703429; cv=none; d=google.com; s=arc-20160816; b=u1IKAWfMNyCYGU9Uo1ohjJ4axHcGnaWLabjRhEMJ1ljvZ6kTO1G8YFSGgLUr1fajXW aIYQgFbmBqunYmTQHGuzL+Ow0H8nwqQpyeQDt9gW+IfiCErO9EhoBuzsC0CCz3y+yL3/ cTngaAMb1ekiHwVEDAghiQm3sGw7Kr69Jg/v5ivxerS0Y2MniEsVGhVrnvfBKlo0o3uB z7JUzJ/tik9kdj/DGMzHCAditlRBr86DP7miL7Ws9hJ+q4gp075pGh/p7QSVPDMjmOgS Vd1BNla9XtiWARj13al1NecV++fI6q4C9BesixAdDSPCFOSelqvYQEpnjhs7pScRwgI8 XXwQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:in-reply-to :subject:cc:to:from:message-id:date:dkim-signature:dkim-signature; bh=tf6lCTsPLXeNhiHXssNpP5ZAcfqyeQr9LAgewN2IdOc=; b=b5YZS38agKObilQNCVDsBSTAJYGLcUjaReZWUlmQJjpN/hZYmOzjNGvt9hHnenkMWd y3po5vadS15BQzKorZduCKwqmk9oAZYxKES4sWxAr6Gx14REG0bsiVZiPYL1iTssPaPU Hqx2vbFxoS53Mdrpn6dCL5nOgTasnggSFN8XNwSja18ziTjUlmn7AX9UY1QOTCA3S7Cf yGwS36Uz1r6+kSqU3IT9hT69j2wmhXfzDmevl+kYrftSgXHt9Rt2KVZOvY8lbPOax7or 0FFgP0hZiHeiNm7QOwvU+NZYitSiTyrwmSfuagEtX+YJ4UyLXg5NhygbvKYuZEwLvVti 8sZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=Emk7EU8r; dkim=neutral (no key) header.i=@suse.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ix6-20020a170902f80600b00178b7f8c5c5si2571655plb.598.2022.10.25.06.10.15; Tue, 25 Oct 2022 06:10:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=@suse.de header.s=susede2_rsa header.b=Emk7EU8r; dkim=neutral (no key) header.i=@suse.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232487AbiJYMuh (ORCPT + 99 others); Tue, 25 Oct 2022 08:50:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33604 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232324AbiJYMt7 (ORCPT ); Tue, 25 Oct 2022 08:49:59 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 477EB19899A for ; Tue, 25 Oct 2022 05:48:12 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 67FCE22042; Tue, 25 Oct 2022 12:48:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1666702083; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=tf6lCTsPLXeNhiHXssNpP5ZAcfqyeQr9LAgewN2IdOc=; b=Emk7EU8r+ZpKKxNjD38r3SHM5QjFKqDpuMO30D/YJfG7S4ry3BDGU5o/i3UgkL41vJCMoB 7fZx50LKH0qWYFF1iN2N/RqzQj7s7jE1UFzhX9C7CQfpv5QmNnRiQVB/sfYUv5DXK9zZD7 H/BYkgutITVqz2eW+csxCDSsPEekb0Q= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1666702083; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=tf6lCTsPLXeNhiHXssNpP5ZAcfqyeQr9LAgewN2IdOc=; b=/qoI9YuABKQTvZDMU0BmeXDvQi5ny3aW3bD6o0llH2KCcesvcq7iYspOGDM0R78i38vZqZ EdzSglkd4lfI8VCw== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 445CF13A64; Tue, 25 Oct 2022 12:48:03 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id 5sywDwPbV2M0JgAAMHmgww (envelope-from ); Tue, 25 Oct 2022 12:48:03 +0000 Date: Tue, 25 Oct 2022 14:48:02 +0200 Message-ID: <87fsfcqdbx.wl-tiwai@suse.de> From: Takashi Iwai To: "Jason A. Donenfeld" Cc: linux-kernel@vger.kernel.org, Jaroslav Kysela , Takashi Iwai , alsa-devel@alsa-project.org Subject: Re: [PATCH v2] ALSA: rme9652: use explicitly signed char In-Reply-To: References: <202210250456.vKv5zoLb-lkp@intel.com> <20221025000313.546261-1-Jason@zx2c4.com> <87bkq0s9rw.wl-tiwai@suse.de> User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/27.2 Mule/6.0 MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED 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-kernel@vger.kernel.org On Tue, 25 Oct 2022 14:08:29 +0200, Jason A. Donenfeld wrote: > > On Tue, Oct 25, 2022 at 08:21:55AM +0200, Takashi Iwai wrote: > > On Tue, 25 Oct 2022 02:03:13 +0200, > > Jason A. Donenfeld wrote: > > > > > > With char becoming unsigned by default, and with `char` alone being > > > ambiguous and based on architecture, signed chars need to be marked > > > explicitly as such. This fixes warnings like: > > > > > > sound/pci/rme9652/hdsp.c:3953 hdsp_channel_buffer_location() warn: 'hdsp->channel_map[channel]' is unsigned > > > sound/pci/rme9652/hdsp.c:4153 snd_hdsp_channel_info() warn: impossible condition '(hdsp->channel_map[channel] < 0) => (0-255 < 0)' > > > sound/pci/rme9652/rme9652.c:1833 rme9652_channel_buffer_location() warn: 'rme9652->channel_map[channel]' is unsigned > > > > > > Cc: Jaroslav Kysela > > > Cc: Takashi Iwai > > > Cc: alsa-devel@alsa-project.org > > > Signed-off-by: Jason A. Donenfeld > > > > Applied now. Thanks! > > Thanks. For this and the other patch, applied for 6.1 or 6.2? I applied for 6.2. Was it an action that has to be fixed for 6.1? If so, I still can shuffle. thanks, Takashi