Received: by 10.223.164.202 with SMTP id h10csp1450052wrb; Sat, 11 Nov 2017 07:17:47 -0800 (PST) X-Google-Smtp-Source: AGs4zMYP8QEBUCqOKYzOQxw2vLWpDgHJwKJxmVaTrHsYUBxDM0g7W7WpBkzBkqJFu1AXVP3n+gKk X-Received: by 10.159.197.11 with SMTP id bj11mr3886245plb.354.1510413467158; Sat, 11 Nov 2017 07:17:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510413467; cv=none; d=google.com; s=arc-20160816; b=oaNnOsydZie9CA1MgT9o6HwZT9oiv/FKakmCWcTifMUyEcfkSTMulHY8UilghjTFCu 4uNr7r5qcQHJw6NYCjzbLrH4AP227hIKsenqxxFhov/K105xJ1WNOsTxzFrd6tiws8lb avMMz5ABBhKxYH3+MzTd5c2OmbLC8tIEX7SPjqTpoCTiu/CbScq9Ng7QqjBmtfG9TTTQ TmDfWu3tLWXB9MsNPxAI5jPV9XFVL7n6w3Hng382iVwAT4KQGmiL802pbfPSlKRFuug0 HdWw4z0uJmPCpu4w9/6IzbKF8G4BGiYq8/ICTWwydn5YsrIlTkqovoX5S4jBWbboNEBo KC4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=ANrNg2wAOYtbOhE/vMUK4BMP8TrCpIrPWfz/fEq24i8=; b=oLA6R7baJ0g9tdovPfQg3YlkTeyOePuw+VOCxcM8Hr4T0thUgGVeC4sD0bje5JoP8t OzdgBcbQkJzQcHO1lqiqWvafqz7e3hC2jduSPbGWhlJ0S0YTl5hEcGmuc3scny3+MtRs dDG3gU0+N5RMvn6EGr/5ZpP5XPhNm+hhDs9s0mVplnLyEzEJbuWmntSFE0D5mUyDfSgI anaUbMRqeGrPPiF6jqptXcz2NAi95Vk0xorV+az+YkMqzjC3D5a5qaeS2nSYvnjuYaXR E1W+N0p3vQbI300ePKW1TrO8CB/wlqNX4sW+VUbP1nCbmmbQ5ICk7uhwHjjmmF3Ao5Oc WkUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=qeIzpGRB; 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=NONE 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 f2si11883685plr.422.2017.11.11.07.17.36; Sat, 11 Nov 2017 07:17:47 -0800 (PST) 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=qeIzpGRB; 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=NONE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751471AbdKKPQj (ORCPT + 83 others); Sat, 11 Nov 2017 10:16:39 -0500 Received: from mail-pf0-f194.google.com ([209.85.192.194]:44298 "EHLO mail-pf0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750832AbdKKPQg (ORCPT ); Sat, 11 Nov 2017 10:16:36 -0500 Received: by mail-pf0-f194.google.com with SMTP id x7so8788172pfa.1 for ; Sat, 11 Nov 2017 07:16:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=ANrNg2wAOYtbOhE/vMUK4BMP8TrCpIrPWfz/fEq24i8=; b=qeIzpGRBS3yuU+yR9hFz/7cGJ+12g3tjS+I8YadGROeZxQwbpbcGIaKX169jGeg08+ dstLRgj1IOxo/W5VorA+cOj8WHCHA5Utrkk/WvyhE2rCay6XMKAVlmqBiGGJLxCAIO3d qT8p20oAxtE6gqBdr4/KVLgPGUq/YOzadYAnF+R1ov3ZpjlxEGCpwC+gm0dp7VH8+ERl B3Gb5km0e8N2ZRQX8wnY4NVWNao/gmlNuX1QRZ3jz6lbWvgx8y07SgDtC5oE03lj37BR EghHpJ4d1rknDbrTLNMpQA+SFfKDqtTpWYrzBpQGkrFd7ERvDRalavAjfRgE9kTFDJjI DqCw== 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:in-reply-to :references; bh=ANrNg2wAOYtbOhE/vMUK4BMP8TrCpIrPWfz/fEq24i8=; b=fsQP2jf3KV/e+or+r2Os6ZGshRxbNMfWfF3jlL/c5+xBcB8DG6jM87uqn6mAeigRk+ DM/lGuCQnHMUJFTNBAevsovIAbjUmJUkWbiFbywziqSda4qf05oYxCnB/AfKoeirtnAn AcOX80XpizsxpO0Z5WVbaKg4djiMVGDiT6RtT3VKjlqT+pdACsscSrhxkXjkffKQlHGW bLWaAJX2kZQUyifdbpxu15hr0AnlrHke1bmmYEE4LljJJ2yTfVj0eBMnJ5LUlvWtXSUU +oRq4UwEvJzpixaT2ioSolC93SIn+GOTbMWxVPl2LSAf+amVoXTP9GIl0JqNleXR2SEh rXoA== X-Gm-Message-State: AJaThX48oFjyntflMzsIHXtmflui8LAMlWpQgIZj56yGi33yj30o/SU4 cHw35d7KuowOAb8AqIlLOy8nxA== X-Received: by 10.84.131.111 with SMTP id 102mr3893685pld.178.1510413395741; Sat, 11 Nov 2017 07:16:35 -0800 (PST) Received: from localhost.localdomain ([103.16.68.147]) by smtp.gmail.com with ESMTPSA id c73sm27035189pfd.139.2017.11.11.07.16.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 11 Nov 2017 07:16:35 -0800 (PST) From: Arvind Yadav To: arnd@arndb.de, gregkh@linuxfoundation.org Cc: linux-kernel@vger.kernel.org Subject: [PATCH 1/2] scsi: ses: Fix space before '[' error. Date: Sat, 11 Nov 2017 20:46:19 +0530 Message-Id: <1510413380-13306-2-git-send-email-arvind.yadav.cs@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1510413380-13306-1-git-send-email-arvind.yadav.cs@gmail.com> References: <1510413380-13306-1-git-send-email-arvind.yadav.cs@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix checkpatch.pl error: ERROR: space prohibited before open square bracket '['. Signed-off-by: Arvind Yadav --- drivers/misc/enclosure.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/misc/enclosure.c b/drivers/misc/enclosure.c index eb29113..c4c5552 100644 --- a/drivers/misc/enclosure.c +++ b/drivers/misc/enclosure.c @@ -468,7 +468,7 @@ static struct class enclosure_class = { .dev_groups = enclosure_class_groups, }; -static const char *const enclosure_status [] = { +static const char *const enclosure_status[] = { [ENCLOSURE_STATUS_UNSUPPORTED] = "unsupported", [ENCLOSURE_STATUS_OK] = "OK", [ENCLOSURE_STATUS_CRITICAL] = "critical", @@ -480,7 +480,7 @@ static const char *const enclosure_status [] = { [ENCLOSURE_STATUS_MAX] = NULL, }; -static const char *const enclosure_type [] = { +static const char *const enclosure_type[] = { [ENCLOSURE_COMPONENT_DEVICE] = "device", [ENCLOSURE_COMPONENT_ARRAY_DEVICE] = "array device", }; -- 2.7.4 From 1585484827169994571@xxx Thu Nov 30 10:02:38 +0000 2017 X-GM-THRID: 1585224361841060243 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread