Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp4097738pxb; Mon, 8 Feb 2021 07:54:56 -0800 (PST) X-Google-Smtp-Source: ABdhPJzbG6zMgnO3R272aTVZMc5fW84Vvkn10bxCVPR11hmG+Tj13oSzi7qwnLOopWJxHe5N3Ybx X-Received: by 2002:a17:907:c27:: with SMTP id ga39mr18175611ejc.68.1612799695586; Mon, 08 Feb 2021 07:54:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612799695; cv=none; d=google.com; s=arc-20160816; b=uXbr/ggpQ5WaTDgrxMFV5pJv0r2dgNDVhhq6ZzeYKJmRZFTBx4gVWsD3tu4K0c6d0Y oSlCL7+/InLh8gAHVMrrgqD3EvWjEwC6TFYUNG+7tcYDXEpSg6Y/jIRB42pwU2PGKR3w bre/bynQSKuY0NIDko4dphdBhK15a25pCPZDSq6lTEbLXLQrOJbFnMFvGb33tXDSf7M7 iAoEGIGYlBR2dzHrDiJnUm4WZjphbq1LnobIOwzYREk6ri9qgC5h2IWg1/LuFzXEPIAR n8mSsJMlcnbEU8aw5KLdwsA/7Z2Mlm60AUKxAuWPd6GW6MRi3J1p2l658NFFxDVZXz9m GX2A== 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=nXGLtnRznEBVBE5/8SD4G6hr3Nz/tvYTfUyNczP2TIg=; b=ohZBopnGQEEoiunvD1Mip66I3UZsncfAv22LH8ys5VTvKdg/o/Fc507jy2/Tmy7e02 tr2u3rMX1t4nboWIlGjtyubXm9f56XT3FeHo0t99P43FduyjOOz9GIuwHUDJM6M83U/J VCGpXgYZjXs8jcRfue6rdXGWw4mZ14l373sGjFFk3RuUUSB/JiCwgtOaOTRC2Qn6dXT/ 2k2Frqm5mTBUWFaC/2Bl+FB3zFJCeYs+RNKYoj2sX+mT8dr6cxBYot+vaA445QrzzKxC g24gp/pbihvLTpCroBcrzcVqcoR9ZLTE63Kjx9vv9+1TmODucp9lMxivt8Rgj5ZdsEH3 fRBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="az/gQFec"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id kz15si3672823ejc.110.2021.02.08.07.54.29; Mon, 08 Feb 2021 07:54:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="az/gQFec"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.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: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232892AbhBHPxw (ORCPT + 99 others); Mon, 8 Feb 2021 10:53:52 -0500 Received: from mail.kernel.org ([198.145.29.99]:52068 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233186AbhBHPHp (ORCPT ); Mon, 8 Feb 2021 10:07:45 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 6110C64EA1; Mon, 8 Feb 2021 15:05:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1612796752; bh=sHXS6TOO/5/IN7vA2YFWR23HH9O/b+yJy8srQQqTtqs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=az/gQFecLBbSQI02yL6+ojXZAfx9oUEwFjLn9EUCI2lEj44NpdHJ1o8kYjbVy4Ej/ Wb/HQSh0c8ayubcDjgxm84cgJsUMCEPme3hznlnmN44twqNMLFKQPEh/TkTVPpBi9i utOCu6R/Dsv1h8x76XRhXA7TnR6csZAS7385thJg= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Alexey Dobriyan , Po-Hsu Lin , Dmitry Torokhov , Sasha Levin Subject: [PATCH 4.9 22/43] Input: i8042 - unbreak Pegatron C15B Date: Mon, 8 Feb 2021 16:00:48 +0100 Message-Id: <20210208145807.213658507@linuxfoundation.org> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210208145806.281758651@linuxfoundation.org> References: <20210208145806.281758651@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Alexey Dobriyan [ Upstream commit a3a9060ecad030e2c7903b2b258383d2c716b56c ] g++ reports drivers/input/serio/i8042-x86ia64io.h:225:3: error: ‘.matches’ designator used multiple times in the same initializer list C99 semantics is that last duplicated initialiser wins, so DMI entry gets overwritten. Fixes: a48491c65b51 ("Input: i8042 - add ByteSpeed touchpad to noloop table") Signed-off-by: Alexey Dobriyan Acked-by: Po-Hsu Lin Link: https://lore.kernel.org/r/20201228072335.GA27766@localhost.localdomain Signed-off-by: Dmitry Torokhov Signed-off-by: Sasha Levin --- drivers/input/serio/i8042-x86ia64io.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/input/serio/i8042-x86ia64io.h b/drivers/input/serio/i8042-x86ia64io.h index fa07be0b4500e..2317f8d3fef6f 100644 --- a/drivers/input/serio/i8042-x86ia64io.h +++ b/drivers/input/serio/i8042-x86ia64io.h @@ -223,6 +223,8 @@ static const struct dmi_system_id __initconst i8042_dmi_noloop_table[] = { DMI_MATCH(DMI_SYS_VENDOR, "PEGATRON CORPORATION"), DMI_MATCH(DMI_PRODUCT_NAME, "C15B"), }, + }, + { .matches = { DMI_MATCH(DMI_SYS_VENDOR, "ByteSpeed LLC"), DMI_MATCH(DMI_PRODUCT_NAME, "ByteSpeed Laptop C15B"), -- 2.27.0