Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1906450yba; Sat, 27 Apr 2019 09:35:38 -0700 (PDT) X-Google-Smtp-Source: APXvYqzi47ZrblAANqjoMYIsbOL3iyhEIPkZgVOzsARtb8iMillI4TZ1Q/kWm0wyuXqQAjRA8Ozt X-Received: by 2002:a63:1055:: with SMTP id 21mr31026945pgq.200.1556382937936; Sat, 27 Apr 2019 09:35:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556382937; cv=none; d=google.com; s=arc-20160816; b=NzyEL18TgBRES2bqEapCe0zeQx8EgmlaE4YqgcxvZhlW87QzEX0hHBzNtOSC3hGH0+ vIlXKRt22lnx2LqBaqGKhWe+bjFMPnoJnGyGhYsHiqreu895u5W13Cil6zOQhK43BU6+ 2tOBx3JKVzHP1riQ6yXeP6cqgl5tlsf4EtQKntPDqAs4e2X6WUn8XPiSVuCFPoZWcOEa ov3aZGjTZfQBLZMGGGsUyvZkHrHp2CvLuerbmKJOtmA4djoQ1GkxM577nG90D2dHlviF aQt76B2M/LKBepTdqWe+HRUoZ3hP1XNWK5TRbs9fIZE4ozvPdzi8B4ArPJIEaVZYO8ZX LB2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=XEvDpPUhRZq1dLEcwfgrpdw5Bqx40j/OhihVlJzo794=; b=vPMO7WNuxQylVWSrsthK/HUbvmfEZpSJ7i9o7io26lBVe7jM5rNbE8qeJ8Su2X8WCE rFAtvNa7UGZ9pUZQ/oB9I0YzvTh2Fh7oyfFJtKJKuVAwJm0OJw6GaPzDlYwKTMn9bP5H Fg5WbEiQrxK40xXUQ/GSp/aVvVmb7PzKG0dxYJccxYfYQAWW5E9UIB3ZfUzhjbOXUA2k uSs0KWHLRvgaOyNPDhX2VvPUiKQv5A0KfbSCFeYLaM9ieVQkKG5UpvY72rs+6nVCU0AH cFpngnCVktbqsSEPhTp/6uI0OKb6YlfTGfm7fnjPhyLu0kIbMtzLWjSsq7yhf8NuGZCC FPvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=XA0RhfXe; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i8si28540811pfd.275.2019.04.27.09.35.22; Sat, 27 Apr 2019 09:35:37 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=XA0RhfXe; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726170AbfD0QeG (ORCPT + 99 others); Sat, 27 Apr 2019 12:34:06 -0400 Received: from mail-io1-f66.google.com ([209.85.166.66]:42862 "EHLO mail-io1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725942AbfD0QeG (ORCPT ); Sat, 27 Apr 2019 12:34:06 -0400 Received: by mail-io1-f66.google.com with SMTP id m188so5473559ioa.9; Sat, 27 Apr 2019 09:34:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=XEvDpPUhRZq1dLEcwfgrpdw5Bqx40j/OhihVlJzo794=; b=XA0RhfXe0wftUHw2AzmePmRF1GUeiky6OfulKPNLYdpW7HhiRN4jkF6bYsbfaYbA8S 8O/P33bxVoUk31zZ2nZ39qPGNU5Ibgx90mqcxE4mWi15cE570m8z1eQxlqsk9KArwt+h 89qkQ/T8oFvFfOFKiSAyNrt73sIiD9cw+XiEz/RnuLZAiiAvIvQbIv1MIIDrxg1IBKoV 4xDjOb7c0TlNNUbk0DUkCqTrIR2enEJAHBw7RHYthzZmUyLp4ygemcUH8VmHbrD8MGj+ k7NMQmWsyth0pkTFt2jDzxTKXZT3ah4sgDHpr6extxuiow9FEA0dvFZQtk8M9ZeOP+6z QaMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=XEvDpPUhRZq1dLEcwfgrpdw5Bqx40j/OhihVlJzo794=; b=MlDcFqjkCmjSVkHMkyKgcNIH/cZeJsuWwvM0UyiPUtLGdcArf2WIlvG80rLz06aNEj 7hff005AX4DJgi7bBJ0LZhTC1PG8HD3tavMij6whRP4JpZLyXUb2DAVHIqJaOmG2u5uZ qP/fYBpe/5ypgUn8BHLqwqt1Djfo7OYlurEW4k/nUgxRDf+FfhwW+LHcJsl45wOTxf3n 5V+T/p4O1WokwHxxco4DUf9Nmjd71um3wZhqO/IklF/yICso0GOIG6KnOQlRMhjHVzoU Bj4BeUEaSbElU60pXQYzCZ9yz4y/HX/fPxlo17CtPRtP6ViDeRh0IFbqup3S53rQ27NE 1bJA== X-Gm-Message-State: APjAAAXhExLClco4326ZKPmWlieHEkc42cEkod7EGN3NHjTq7/VpOGtW G1SRV8fz3ZSARKpjZvudekM= X-Received: by 2002:a6b:ba57:: with SMTP id k84mr26041475iof.211.1556382845471; Sat, 27 Apr 2019 09:34:05 -0700 (PDT) Received: from localhost.localdomain (c-73-243-191-173.hsd1.co.comcast.net. [73.243.191.173]) by smtp.gmail.com with ESMTPSA id p67sm13781876itb.11.2019.04.27.09.34.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 27 Apr 2019 09:34:04 -0700 (PDT) From: Kelsey Skunberg To: sudipm.mukherjee@gmail.com, teddy.wang@siliconmotion.com, gregkh@linuxfoundation.org, linux-fbdev@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Cc: skhan@linuxfoundation.org, linux-kernel-mentees@lists.linuxfoundation.org, Kelsey Skunberg Subject: [PATCH] Staging: sm750fb: Change *array into *const array Date: Sat, 27 Apr 2019 10:33:34 -0600 Message-Id: <20190427163334.7109-1-skunberg.kelsey@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Resolve checkpatch warning for static const char * array by using const pointers. Checkpatch Warning in sm750.c: static const char * array should probably be static const char * const Signed-off-by: Kelsey Skunberg --- drivers/staging/sm750fb/sm750.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/sm750fb/sm750.c b/drivers/staging/sm750fb/sm750.c index 105089b97bf5..59568d18ce23 100644 --- a/drivers/staging/sm750fb/sm750.c +++ b/drivers/staging/sm750fb/sm750.c @@ -748,7 +748,7 @@ static int lynxfb_set_fbinfo(struct fb_info *info, int index) lynx750_ext, NULL, vesa_modes, }; int cdb[] = {ARRAY_SIZE(lynx750_ext), 0, VESA_MODEDB_SIZE}; - static const char *mdb_desc[] = { + static const char * const mdb_desc[] = { "driver prepared modes", "kernel prepared default modedb", "kernel HELPERS prepared vesa_modes", -- 2.20.1