Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp996914pxb; Wed, 6 Apr 2022 06:19:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx28kOLGOiswRejoE/QAloDPvNAWKnVElYIzkgm8SE86TLhhgNp9SyHKjkWeLQJ91fPSmXh X-Received: by 2002:a17:90b:3b4c:b0:1c6:d91f:fbf5 with SMTP id ot12-20020a17090b3b4c00b001c6d91ffbf5mr9887423pjb.81.1649251184332; Wed, 06 Apr 2022 06:19:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649251184; cv=none; d=google.com; s=arc-20160816; b=zN6W1Q5cpjTrF5JEWweMHvTmfbSDyBNVFJBs66YZq5D1Z580kOvDNC1MZgixeFP5U+ iaqvPisJILlMyi42XNWnBXYRyn9uyCDdHvL7/CZcOz2Qb/VJoRo6dJpNOLDhMO0G6iQ8 0VJLsO7PMEToMcabPiF4C+dFNz8qSP4VumCGPD1IdHWgqwHZwYFa82RvSshFLE3FjNXQ YDMwlO+iAA4XNoTgIiIh9E4MaGdOJr8kRL/3IO8BmcjA6JcPXUzPcePAK2CgmsM7LiG2 nuSNi7Cm9JDjEoEwkMHbyYkTnucwRqQGq1+FQAmWzo3CIg/bl/0P1chlmZyakI62zMrz v5Uw== 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=1ZOY9F/5g5PeZhpDl0566aC7WZpwSzJmzpmgZjPPJCs=; b=wBJBeb7FzfsDmzZ+vYytmebxS6RQHTbqdhTwuidnO6YJ7PBzA91pHrUJ70bsPpPDAu PGo6hO8NvHmwDeOxrCV/XcTBpw7nWHtCFb4Obr+u3wlAlM/C7LHPt5mAGoxkKXEjPdtp Q+65BQIV95UfqB1fam9YoqDhJHUAjULNwhCwbFqhyygsf4OqnjjRxyG22blDNk2HF9KO pV25Qg4OQaTMVni1cKs2PRdarPz3Kc0JAD6lssijK+17mFWIA31+2amYtIqFCdKIS4yj ypuXmKOX+9spktTJ2KGcSHkY7n34xh0IhHYWTH+RwdQCsg2wyTkNoHqpThjEQYDqXEF3 +irg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=pM1EpMtm; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=4Tej+bvG; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id d3-20020a056a0024c300b004fab9240197si17310584pfv.48.2022.04.06.06.19.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Apr 2022 06:19:44 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=pM1EpMtm; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=4Tej+bvG; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id C631E4CFD8F; Wed, 6 Apr 2022 03:56:50 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232202AbiDEWlG (ORCPT + 99 others); Tue, 5 Apr 2022 18:41:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35340 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1457620AbiDEQSS (ORCPT ); Tue, 5 Apr 2022 12:18:18 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3F566193D3 for ; Tue, 5 Apr 2022 09:16:19 -0700 (PDT) Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out1.suse.de (Postfix) with ESMTP id EED1C210F1; Tue, 5 Apr 2022 16:16:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1649175377; 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=1ZOY9F/5g5PeZhpDl0566aC7WZpwSzJmzpmgZjPPJCs=; b=pM1EpMtmCVxrKZFrB9tLqjrLE/6GD5oYc2vVk5dgZvS3rczpy1QwsGUxs5Ek+3YtY8ypfz tndqeVZDbPxz0CSEDVeYltfZSc705g9k9/oUkNgPkMsIZsu9pYe2B52yB/LAVhQp7mcElm shSt4QJMq65o/v3icBKz/C+vagGCyPQ= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1649175377; 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=1ZOY9F/5g5PeZhpDl0566aC7WZpwSzJmzpmgZjPPJCs=; b=4Tej+bvG48jBLEq/iHWdONwEYnh5u0NpMsK9fU3f845V8jHN/awTO0gI5ReSv3mI0p3/Yr e8FE95qhuVdKaOBw== Received: from alsa1.suse.de (alsa1.suse.de [10.160.4.42]) by relay2.suse.de (Postfix) with ESMTP id CF989A3B83; Tue, 5 Apr 2022 16:16:17 +0000 (UTC) Date: Tue, 05 Apr 2022 18:16:17 +0200 Message-ID: From: Takashi Iwai To: Borislav Petkov Cc: LKML , Jaroslav Kysela , Takashi Iwai , alsa-devel@alsa-project.org Subject: Re: [PATCH 02/11] ALSA: usb-audio: Fix undefined behavior due to shift overflowing the constant In-Reply-To: References: <20220405151517.29753-1-bp@alien8.de> <20220405151517.29753-3-bp@alien8.de> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/25.3 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,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 On Tue, 05 Apr 2022 18:06:19 +0200, Borislav Petkov wrote: > > On Tue, Apr 05, 2022 at 05:32:48PM +0200, Takashi Iwai wrote: > > > +#define USB_ID(vendor, product) ((((unsigned int)vendor) << 16) | (product)) > > > > Parentheses are needed around vendor (as usual for a macro). > > Could you resubmit with it? > > Or you can fix it up while applying. :) If you prefer, sure. Takashi