Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp8307494rwi; Tue, 25 Oct 2022 05:15:24 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4IFWOAwmvkyytMMqPlQ9Y8Y2RJ7bzCWVrg6vFm9N9SpCOeozZEYQKIgWbpZZj2GcRFrzpz X-Received: by 2002:a17:907:75d1:b0:7a8:291:2050 with SMTP id jl17-20020a17090775d100b007a802912050mr9113178ejc.287.1666700124189; Tue, 25 Oct 2022 05:15:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666700124; cv=none; d=google.com; s=arc-20160816; b=hgJJhIZFTgt2hR5WabtmAoSjo/q4NS6vSHwvnoJ7CgGZl8yHnvczG5CaYL0vkaf7QP gh/1vXZr2lQ1c6nvh4fN9QLOX1c2z533e7SMyJsumOeZ39iK7zJXY7d4P/whNDnfi9A5 WDICN/pzKOwa+g/6sNpvn3RUiTFNIUzlPI2fQPJNUeXEfWrKmAISQBdnkgTMuhZ/Unjm sjx51EeONrhRCQKreG83tGuDvd0/A6nsL7KbtHOsKduPx2ghq3o/4us+82+Df3iUS9UI O0DNI5+iITHeC3z1A0QOXmLCIjUR5Ns1Q37zCepsb/rBJ6Eba+dvwb4Us999+yISpl0C rCFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=lDTzz8RCtiO8TmkrYzfZqplpH5tp9ZvYdKoLxqYoZgw=; b=CVP+guwkO4oDWrgIXp1AzTsVyHJzx4R53HbMVRqmIIBEHcFpZKpb+nQaWEjSX1JvkB yN9ZDanOWlFIHB833RcIB2x4ET84ZIn57eEvokbRHdMGrZq5kE6TBi47JTNsi+h11mjV 8vwKsZQBSsWe3fJbRmpZZNM9/MEVjDtDSuUsBKhZm0P492b2vRawXHAhnJuyXwSLSetp /4LtUKZvxmubQMWvxQGuZ5J26q+LvvjP6IJRvi3hgaNHkIGoVqqeWnGAIlqUhXJ7Hn4M KWQo4LLABnP4MWGYYwWut8unZTAx1C2n+szbUmQImRcyNi76Jm+WZHe75wQ3r+/USs2c QYPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@zx2c4.com header.s=20210105 header.b=CrVd9HRe; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=zx2c4.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gb26-20020a170907961a00b00783645da4e5si2846794ejc.582.2022.10.25.05.14.56; Tue, 25 Oct 2022 05:15:24 -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=@zx2c4.com header.s=20210105 header.b=CrVd9HRe; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=zx2c4.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229597AbiJYMIl (ORCPT + 99 others); Tue, 25 Oct 2022 08:08:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43272 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229730AbiJYMIj (ORCPT ); Tue, 25 Oct 2022 08:08:39 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1F7CCEC531 for ; Tue, 25 Oct 2022 05:08:39 -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 B0CF4618F5 for ; Tue, 25 Oct 2022 12:08:38 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 58B3AC433C1; Tue, 25 Oct 2022 12:08:37 +0000 (UTC) Authentication-Results: smtp.kernel.org; dkim=pass (1024-bit key) header.d=zx2c4.com header.i=@zx2c4.com header.b="CrVd9HRe" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zx2c4.com; s=20210105; t=1666699714; h=from:from:reply-to:subject:subject: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=lDTzz8RCtiO8TmkrYzfZqplpH5tp9ZvYdKoLxqYoZgw=; b=CrVd9HReLy5CSqBBbmToAhk3P2sFOIwgsfi2fIs9mP4dYkJ+WufkgyZDKGUwD12i4tZOqI 9O2TnmESRupj37Z7svdhOU26hAbpHpVOJkK+SvbYTYbi6d+nsG7bl2NnekwTTS6kHAtCSS 7LKKuLADDA5VyJ+JapFl8+33A33n+ag= Received: by mail.zx2c4.com (ZX2C4 Mail Server) with ESMTPSA id 74f0cab3 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Tue, 25 Oct 2022 12:08:33 +0000 (UTC) Date: Tue, 25 Oct 2022 14:08:29 +0200 From: "Jason A. Donenfeld" To: Takashi Iwai 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 Message-ID: References: <202210250456.vKv5zoLb-lkp@intel.com> <20221025000313.546261-1-Jason@zx2c4.com> <87bkq0s9rw.wl-tiwai@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <87bkq0s9rw.wl-tiwai@suse.de> X-Spam-Status: No, score=-6.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_HI,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, 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? Jason