Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp1172374pxb; Wed, 6 Apr 2022 10:25:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyoa79U5Kz8gCbiXR8QaA8AaGcgvzW3je+OF4V93ZdvuLYVUNEKmcaDlCQ+dBuCzhdru07r X-Received: by 2002:a05:6a00:1341:b0:4fa:a3af:6ba3 with SMTP id k1-20020a056a00134100b004faa3af6ba3mr9814014pfu.51.1649265931263; Wed, 06 Apr 2022 10:25:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649265931; cv=none; d=google.com; s=arc-20160816; b=Nj8+yZ4rWF+9/rovIcI68xbbfq5m2KifEdEAw+S84vK1VySR+c6lMe/WQ7VWbKV1Y8 uzu9UWzFqC3fZtNEx0/QLfoZlD11w3Vf0jwj5TtVNSsxksuBf9vYLkaO8IQk9HhRV4vR Bg8eaTRkLu9LGyd31RLrVZfddX+pWOSfnmGpbdSF0VP0gsWiFCLHmDMnQLQiPx4CiDKN i6J73RvNyoNcXrEkay3jfutPq9yRQUb578DT9OSpamGqJUDV109bNSBGg2karZfngsF1 PPdEahvXhpr/9jEV97VACvyV3MTD2YoTlPt/S9FZMl2tyGNzAkP2VE79hkDfMtmJf0hn U9AQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:dkim-signature; bh=yoKlY9CBAe3xZrT8TRZ37y/sFQuqXu0g12LsFC8tISI=; b=Ns3YkPzGZ3zFnyL2v1Q/2W40ec/lyyss1Q/sPvbInaVQjpPzueY7gS+1Bq1sCJqWcm VZLKNfgKMPkYHIjygq6klruF8VrFGA31laTfbZQmNRkIFrlT3QjpA66zpgC9AwXRMMT5 R2vNwKUKqGTkeUzhlWAWv+8ZFER6Kl/OjftR4RNMJbG7IYoUlpJbNSxxgOgUhQDC4Wut htposuojx0S4v98jccVuevrrbUOq6tfIQnRWCzJeQHex7zFda6T2rG0uVXbcRfj/4YlH knjyLhLleW5liCwkCchP73kcaRp07b1we977eMvOu5GTe46VcmSrK/TGRH4rf3YJLG74 QrUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@stuerz.xyz header.s=mail header.b=F5IdetPC; dkim=pass header.i=@stuerz.xyz header.s=mail header.b=lvTG7c4o; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=stuerz.xyz Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id q13-20020a170902f78d00b00153b2d16626si12207289pln.558.2022.04.06.10.25.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Apr 2022 10:25:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@stuerz.xyz header.s=mail header.b=F5IdetPC; dkim=pass header.i=@stuerz.xyz header.s=mail header.b=lvTG7c4o; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=stuerz.xyz Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 7536F2A8DF5; Wed, 6 Apr 2022 10:24:18 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238818AbiDFR0K (ORCPT + 99 others); Wed, 6 Apr 2022 13:26:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46344 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238706AbiDFRZy (ORCPT ); Wed, 6 Apr 2022 13:25:54 -0400 Received: from stuerz.xyz (stuerz.xyz [IPv6:2001:19f0:5:15da:5400:3ff:fecc:7379]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9E0E91B74DF; Wed, 6 Apr 2022 08:24:47 -0700 (PDT) Received: by stuerz.xyz (Postfix, from userid 114) id 92E25FC6DA; Wed, 6 Apr 2022 15:24:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=stuerz.xyz; s=mail; t=1649258686; bh=8zU/pVQzaSSeUmGTy07qPAWn19XTwb6FrCl7lhD+040=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=F5IdetPChtUOVoLwPCuNzWJTZlFgz80ooqJFZHeyM0yfuYBTfEV7iLDNNhTBN3iDW mizZ/yFT/lGcojJnxJ/lzwcKiKKjCw/nMEoDbSxYM119WVUfyubnTza7gvR23kl6+X j+UR4aSPwZDBSUH/cOxrgDP+Nr8ZJh5MvjaY+zTqczapQaAQ+3MiWh15QvxJ8ggSDA m0NPRY+PEwrIqGVaNuB83AiooaX6CgGWdhdcsUpkawf0z0WauHBe1p0eHkuRqw84oK e2l48xtAw/bg1c+lCP7cDAwHQmbdbqrTwCZolVX5K0LF7M1njGnmTJKbyWNUHmy7m3 K8/PRModzQ86Q== Received: from benni-fedora.. (unknown [IPv6:2a02:8109:a100:1a48::1e62]) by stuerz.xyz (Postfix) with ESMTPSA id 89C2FFBC43; Wed, 6 Apr 2022 15:24:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=stuerz.xyz; s=mail; t=1649258684; bh=8zU/pVQzaSSeUmGTy07qPAWn19XTwb6FrCl7lhD+040=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=lvTG7c4oIxOJNe9NBCuq3P85DZ+etjpwfuEQ0UG4LHQMa8mJrGZDng9KQXZlvNyb+ Cr/JL8ucvS7AZ3T7mWIBJ+g8h/0zAJkIWeZC3eCmttxx2vao5wtF6y1B14lsYsIu8L 444KoU4jtb4OVGYjgEfB2mj2yFg+xJUqMBYnIcO/zr/bFLH+HvJbOkQ9we6N/eFKPJ wncKVnC6Qtz3Yv+YYb2FZ5hPfuYDvHXiNNFA8Q+sHti22dOxmA9B+wnr/tVP912LqJ Ysh0gq0Rl08sF4nPnnpdHLam21IMWbHKOBJTaHT6p51WI+CJS85N5mUAJB18OaF9ZS sNQfOxwir4VyA== From: =?UTF-8?q?Benjamin=20St=C3=BCrz?= To: kvalo@kernel.org Cc: davem@davemloft.net, kuba@kernel.org, pabeni@redhat.com, linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, =?UTF-8?q?Benjamin=20St=C3=BCrz?= Subject: [PATCH v4 2/2] ray_cs: Make card_status[] const Date: Wed, 6 Apr 2022 17:22:47 +0200 Message-Id: <20220406152247.386267-3-benni@stuerz.xyz> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220406152247.386267-1-benni@stuerz.xyz> References: <20220406152247.386267-1-benni@stuerz.xyz> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=0.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FROM_SUSPICIOUS_NTLD, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,PDS_OTHER_BAD_TLD, 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 Make the const because it shouldn't be modified. Signed-off-by: Benjamin Stürz --- drivers/net/wireless/ray_cs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/ray_cs.c b/drivers/net/wireless/ray_cs.c index 3df795dc3d9f..07f36aaefbde 100644 --- a/drivers/net/wireless/ray_cs.c +++ b/drivers/net/wireless/ray_cs.c @@ -2528,7 +2528,7 @@ static void clear_interrupt(ray_dev_t *local) #ifdef CONFIG_PROC_FS #define MAXDATA (PAGE_SIZE - 80) -static const char *card_status[] = { +static const char * const card_status[] = { [CARD_INSERTED] = "Card inserted - uninitialized", [CARD_AWAITING_PARAM] = "Card not downloaded", [CARD_DL_PARAM] = "Waiting for download parameters", -- 2.35.1