Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1490788imm; Mon, 3 Sep 2018 01:41:57 -0700 (PDT) X-Google-Smtp-Source: ANB0Vdbaid9luOW/WvUA4x12G4dkQ198HALWxrnYAazhkS9s/fXM3Vm3or6VXhfSXQMwF18v8S6D X-Received: by 2002:a63:e70e:: with SMTP id b14-v6mr18319277pgi.68.1535964117539; Mon, 03 Sep 2018 01:41:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535964117; cv=none; d=google.com; s=arc-20160816; b=iu7JdCgywzRQXxWgh/stT43jAtWtlrz3oRC1nSO2CmjAQrQlAH1WSFopkzxqXiFp9E 7O2xZNTLhXb4hK5T73oFMHsoD8LFtjNmk1sRF2J2CrnbwQAG4XviCz1Z9QCz66IEji6e PlTgURKj2K3wk8nUT0wUdSyd9+C0yZxBQ2Pw9Hu10C/JZI4DoYc0C7g7c0MT+mnmuIC9 vgx9EzsB0Z3AyMnvTc5W2y/43LYpcj3JjacJThW3ln7tjDp57SAQkivjAlo862twaoIb MBLqQ+mYfNfbS08iq+T6jHmPHmYKeWUjABEwR24kduBloZzTNWaOtfILJ59IHeLP+o3F oeWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:to:from :arc-authentication-results; bh=bTTwmxzwMWkSMERtZ51HB2/zO293xkCVTOeUjaTa1Uk=; b=b9fk+mzEXrY4yk7qr/KHfuXaHA7+9OQlbnfKcqT2sYZE4yVTixlAavYVWbldeiFTKy hyqXRFfVm3uBUrLoNUJyyHrhodYiqDXN6r+Gyu801LcUuaojvNPdUZCYufjxvYoF2Atz 9HYm23aF4jGAbmEpl14xFitT4WDr8yP6C1IbtC2wm5q9tDmnpH2iivqImHfqEIQm5ekL 8BL7Tpo76byDEKP5u+tqhlmXhw3gJHS6rgGOeOylcU4xKksKFMv4xBgqdPqHiokFHok+ EPQdjNJtt2+X8K7YVktNI2Gaafqv5SbziVCPzcLV9lR5KEJlLVLfNKGxbeFYDMcEgCfj RRGQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q197-v6si17180080pgq.526.2018.09.03.01.41.41; Mon, 03 Sep 2018 01:41:57 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727079AbeICM7j (ORCPT + 99 others); Mon, 3 Sep 2018 08:59:39 -0400 Received: from cmccmta2.chinamobile.com ([221.176.66.80]:37527 "EHLO cmccmta2.chinamobile.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725990AbeICM7j (ORCPT ); Mon, 3 Sep 2018 08:59:39 -0400 Received: from spf.mail.chinamobile.com (unknown[172.16.121.9]) by rmmx-syy-dmz-app05-12005 (RichMail) with SMTP id 2ee55b8cf37b71f-b2368; Mon, 03 Sep 2018 16:40:27 +0800 (CST) X-RM-TRANSID: 2ee55b8cf37b71f-b2368 X-RM-TagInfo: emlType=0 X-RM-SPAM-FLAG: 00000000 Received: from localhost.localdomain (unknown[223.105.0.243]) by rmsmtp-syy-appsvr05-12005 (RichMail) with SMTP id 2ee55b8cf37a901-0ac36; Mon, 03 Sep 2018 16:40:27 +0800 (CST) X-RM-TRANSID: 2ee55b8cf37a901-0ac36 From: Ding Xiang To: gustavo@padovan.org, maarten.lankhorst@linux.intel.com, sean@poorly.run, airlied@linux.ie, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH] gpu: drm: Fix vexpress_muxfpga_match terminate error Date: Mon, 3 Sep 2018 16:40:24 +0800 Message-Id: <1535964024-23841-1-git-send-email-dingxiang@cmss.chinamobile.com> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org vexpress_muxfpga_match needs NULL terminate, fix it. Signed-off-by: Ding Xiang --- drivers/gpu/drm/pl111/pl111_vexpress.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/pl111/pl111_vexpress.c b/drivers/gpu/drm/pl111/pl111_vexpress.c index a534b22..5fa0441 100644 --- a/drivers/gpu/drm/pl111/pl111_vexpress.c +++ b/drivers/gpu/drm/pl111/pl111_vexpress.c @@ -111,7 +111,8 @@ static int vexpress_muxfpga_probe(struct platform_device *pdev) } static const struct of_device_id vexpress_muxfpga_match[] = { - { .compatible = "arm,vexpress-muxfpga", } + { .compatible = "arm,vexpress-muxfpga", }, + {} }; static struct platform_driver vexpress_muxfpga_driver = { -- 1.9.1