From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ed1-f49.google.com (mail-ed1-f49.google.com [209.85.208.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 64A882628D for ; Mon, 2 Feb 2026 13:52:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.49 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770040328; cv=none; b=dIbVodCk99xwwDPvr2b00LgffTJ407OxuK4WbeYrDgBNQ68oh+8CTH7+Y79fN9TSoKekBAnFiipWBuN85WBDXc4VkOjbY7VE+IKY9cEUC9if78lXsGlsLSgN1UmUp+80KlVdre4j1kHSQx8hmstQMKX3eRitGU6/W5EE7j/KAtY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770040328; c=relaxed/simple; bh=HCtMxubw7BhDcvcWkntQkqQSnpEHdh+MzEDG8CCKr14=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=klymi44031fHKin5viN+GUB6whFgGorcbLs6y1X6VBm+O8+u3RtjSb828fr0YWfPK3BysiL9Atp2LiB6kYYKBjV7P/EUJWjLWFqor3nrSbyNZUSmWJPRppkPsgdBRv7sWn/3w/Cy05R10dwomVsCqiKX2xRFvlFMzO3y/alKMYo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=EnFzEG54; arc=none smtp.client-ip=209.85.208.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="EnFzEG54" Received: by mail-ed1-f49.google.com with SMTP id 4fb4d7f45d1cf-6581af9c94aso8358725a12.1 for ; Mon, 02 Feb 2026 05:52:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1770040324; x=1770645124; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=0t0CcGWr8Ro6wXIQpLKhmDLtrZbR/mwX4OOSLNob2uY=; b=EnFzEG54xCCcC2zEc7DagPlE0jon3VaoSLMHa4nxSCIR55KtRo5nN/7EIM7FPNk+9d JWv5bhb5b1LxqTbaTBB/Yq0+G1zdmg17yHzg224HdYp9LbBIHxT0x95YUHJYIsTJ0saS 8y+D6f448pHfonO0lPsp0EnP9k4fu0J+iGzYGhHNZ8PgNqIxYlub/pIBx/6JvzvRi6Lb cypLOhM4JjCACppHEYoLaeJTa8DVZd9vdlR8KpiaF46U8g+3KP7g4sOsfQ7qF6jD5+fG DFVEr5TpEfe9EPj7+JKOg83yP9hL89akE9k/d3XTmyzRNThGWuV8J/yealJ+vi8jIerz r4Vg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1770040324; x=1770645124; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=0t0CcGWr8Ro6wXIQpLKhmDLtrZbR/mwX4OOSLNob2uY=; b=FG5iIsoV/ZxkFsA2IxLueQEp84RATEIveYpq8paIaBQYvsDMbV/nvXfP0e14CwiGLM lvvS7eFtXrqAH6pt2O8QFHCQauChF1r0asA70F2qpcMz1LYqAY/6XeOmrztixPwPNawb faincql8dg3rcntF1NjWMomhFbNr2S9wTwYAlQpYdB1WSID+kRWeny17EtLeBFXMu3UH LKvPb6sjsDU8wLc5SXAtTQs4CNWObj/g83tByhaGDXtvFdc4C83AcaBCikwICATz9jXR NiTuoEZ8UjXGm8qDQy9AEKobXFh5gx179gCaGpQgEE1IIa7qI7pD3/GBDLrufZ0YOyKB oUFA== X-Forwarded-Encrypted: i=1; AJvYcCWCJ5hp3JDlh03N2vdppu1swlHoqo38VAZhWC7r9pTh4B3x6Z13pid2MIwxrfY146UCakYDOU8CFuQr6Bw=@vger.kernel.org X-Gm-Message-State: AOJu0Yy9VZMB68ajCSMNqpOK8uu6Sqg2mtSQRfaseZm2goGmGUgxndF/ BYTPzr2ttITVIdmoXv6KclXK7VtbStLkeKWRSRWzR5o72fP+WBIy+KWSb3oXaW68UjY= X-Gm-Gg: AZuq6aI719cYHnqusuijqCqq8/lAVmyG+B0Z5rXBypdqsSdeny8O+eK4mtDVfl7nzr3 5tK8BqQuIaZNM4o6YrO/hYHvIrBoyULxX5HSHN40UhEQ6ozvK1vIoiH7UE/xLcCF2CnjFjTyMLN vvcplgM5rf1fsTlTVC/s/yU8+RLcn3GIoYtR8HLCJS1ahT2BHJn0AzfPHJdGmZk6EyUEXu4b0VC IXjmdQJIeEX6sAWwk9ogBoPSWs0xdQMX/g3qnTLRQbqXbRGy9EWURE14aM5RJC0B1BIku9qhNP5 t+ITSIzyRd13+xp8frEAWdYzlHtbmjBT9742eQlyFVkfD1mq+/dLrM8CNWPWYQBpgajt/sEMQ2L Gh91UZkzi0M7y1z0HV8r6UD2/3vT9DGQ66hxr/VNAkm6OIENNEtIR2x5zQXB8SoGK9ch0HDSrYr KSq8BjMAsSBBY+bweB X-Received: by 2002:a17:907:c09:b0:b87:2780:1b1e with SMTP id a640c23a62f3a-b8dff6680aemr718792666b.41.1770040323606; Mon, 02 Feb 2026 05:52:03 -0800 (PST) Received: from localhost ([196.207.164.177]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-b8dbf1baa42sm884201766b.46.2026.02.02.05.52.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Feb 2026 05:52:03 -0800 (PST) Date: Mon, 2 Feb 2026 16:51:59 +0300 From: Dan Carpenter To: Giorgi Tchankvetadze Cc: Greg Kroah-Hartman , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] staging: rtl8723bs: make _action_public_str const Message-ID: References: <20260202131649.161215-2-giorgitchankvetadze1997@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260202131649.161215-2-giorgitchankvetadze1997@gmail.com> On Mon, Feb 02, 2026 at 05:16:50PM +0400, Giorgi Tchankvetadze wrote: > The _action_public_str array is never modified at runtime and > serves as a lookup table. Mark it 'static const char * const' > to allow the compiler to put it in the read-only data section. > > This fixes a checkpatch warning: > WARNING: static const char * array should probably be static const char * const > > Signed-off-by: Giorgi Tchankvetadze > --- > v2: add blank line before Signed-off-by (suggested by Dan Carpenter) Thanks. Reviewed-by: Dan Carpenter regards, dan carpenter