Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp1757015pxb; Wed, 9 Feb 2022 03:59:19 -0800 (PST) X-Google-Smtp-Source: ABdhPJxq3cMqQNcN48o13081qi8dSpjEDA8PUqGg70VjMZdNt29YOTjJxY2kIAwj6OOzysEsILEI X-Received: by 2002:aa7:9512:: with SMTP id b18mr404640pfp.53.1644407959482; Wed, 09 Feb 2022 03:59:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644407959; cv=none; d=google.com; s=arc-20160816; b=BvjafrVP4/ltqJM3gmtBMv00ixPzEJUZCtFdd+Xw6bHB7BHHNeuPwBtEP7loRxPsub DAQ+IAhCRPpQFLz+wsW5XOzXSBDRGR5J5Cy/lRaASGMGzFjmSKm3QPe/pp2yM6zGjfCW bEWGrzXvzqYYk7URkjfe5IFHRd/zrSytT5VrLH+6370kUT+FgwnCWhnOJKRjbFC/vPU3 T5Rz4wmkpAPu6PhXOyH21S7MHRYAzQUImcaf+sy98nbdWDYUyMJkBp45subwzuD1MQQa 5UIZ2ZEyB6+Ze4qANcvX3dhb4SbxCKasoE4sDPYDk/EVqzJNyQNq19b2fGiG8WdfSnEF Z9yA== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=UnaqLLqBcNt0v4kfCVKIR3XRzdFkc1CuOKMEC/Tw8IY=; b=c+MdYgN8FQwlp+CD/4bfKcEzbaEtSByd1PbSMTG6TRVWC5fdAZ6DXsBn9ejkzA8tJK gje3z027Bp3C9NMo66Q03fseJfTNnD/IYQznZHPQpE8mxxCtHdPbyPgjagmS9A+pwNG5 f6xhBCOf/gu58mOJGzT1bzKJn5wswbyhoQstfAW8xoTkHXt7zH1H7DhuGOtphhMy8IvD MSO+uzMZRF1BJJqMF66Pyu+yeIFam8LWFK+GM58uXpBIv9H3a2xn6pBSbbxJ8C3qb39i Yz4ThOYf3gHOJREDnKXwNCFlMXJ0H+/BQ4GKGcY+WOgLdBG7TL/hKm8EZj3jq9UnAdCV 85cw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="nYBjP/lp"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id p24si5276659pgb.620.2022.02.09.03.59.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Feb 2022 03:59:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="nYBjP/lp"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 5A617E07F9D2; Wed, 9 Feb 2022 02:03:23 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1384754AbiBGLo4 (ORCPT + 99 others); Mon, 7 Feb 2022 06:44:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46164 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1386025AbiBGLdU (ORCPT ); Mon, 7 Feb 2022 06:33:20 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 75BD5C043181; Mon, 7 Feb 2022 03:33:20 -0800 (PST) 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 0E6AD60C8E; Mon, 7 Feb 2022 11:33:20 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CAD58C004E1; Mon, 7 Feb 2022 11:33:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1644233599; bh=8eH1MdEVdu2hKNRuGIzmCqaimYky5xcS1WJ3g2iEc98=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=nYBjP/lpsYMSpxS2KGxgpjebAfpxTLD9ORgOuV013wD4J8V1fPzwukRYrJbXRsIbf J2t7UxSXcvhcDQj6YHRhSGJyhBibqJWtAARj3QtAUwFpGtfiBGhm+pZ34wqhJLwCHz nhLb3pWzNtxwGHYa7ajQ3ZOkIp2ey8Z1BpiTjxMk= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, kernel test robot , Takashi Iwai Subject: [PATCH 5.16 055/126] ALSA: hda: Fix signedness of sscanf() arguments Date: Mon, 7 Feb 2022 12:06:26 +0100 Message-Id: <20220207103806.014919306@linuxfoundation.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220207103804.053675072@linuxfoundation.org> References: <20220207103804.053675072@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 From: Takashi Iwai commit 0444f82766f0b5b9c8302ad802dafa5dd0e722d0 upstream. The %x format of sscanf() takes an unsigned int pointer, while we pass a signed int pointer. Practically it's OK, but this may result in a compile warning. Let's fix it. Fixes: a235d5b8e550 ("ALSA: hda: Allow model option to specify PCI SSID alias") Reported-by: kernel test robot Link: https://lore.kernel.org/r/20220127135717.31751-1-tiwai@suse.de Signed-off-by: Takashi Iwai Signed-off-by: Greg Kroah-Hartman --- sound/pci/hda/hda_auto_parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/sound/pci/hda/hda_auto_parser.c +++ b/sound/pci/hda/hda_auto_parser.c @@ -985,7 +985,7 @@ void snd_hda_pick_fixup(struct hda_codec int id = HDA_FIXUP_ID_NOT_SET; const char *name = NULL; const char *type = NULL; - int vendor, device; + unsigned int vendor, device; if (codec->fixup_id != HDA_FIXUP_ID_NOT_SET) return;