From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f50.google.com (mail-wr1-f50.google.com [209.85.221.50]) (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 2966A33987 for ; Fri, 10 Jan 2025 08:09:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.50 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736496560; cv=none; b=b3bbzjs1dTdztczwDyiMffvT+e8AYgA041A8LSw3pVgcMQ3h3O7qVF44t5NyeNEzW0lqQK1ENcRzAyiQL9LOD3IYFJInBWl+RPaxd4u8m60G85lazjClzxELVoe5FJDIG2d/orTvKcEmWhfHntHvnjFzKuLLBcRxBs0u2zQ+K6I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736496560; c=relaxed/simple; bh=IjpgBEUSfakvGbfO5qRga1RYeyECZkKl0UxwA3DwtJ8=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=FCiLThRfmOhL7wWW2BwVmRZ0ztF1Saqqfcp7xf8YiPS67iHzV/j5KvUodVn4w7W0quAL3f+cjpkz5p9+kl6tHUtGrPJAmSBy+aNTgbWykxuj6msrmBY4ZusZQRk9gQb2iAJFqwapPueGiIOQtubGxnhV2fcD66ghbE146w16FIM= 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=TrMGt9GP; arc=none smtp.client-ip=209.85.221.50 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="TrMGt9GP" Received: by mail-wr1-f50.google.com with SMTP id ffacd0b85a97d-3862d161947so935054f8f.3 for ; Fri, 10 Jan 2025 00:09:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1736496556; x=1737101356; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=OqK1Xd9dCh52ZFyz9AUWQsX1pTiDP6ZUmws0hqFeVt0=; b=TrMGt9GPeyFbXz6YrXXV6w8PZg2wLUo0hZlYYtK3j3vb4oVWuP80Bv1nXhcCSoRJdL ysrtgkAISQ5rQQSm5qWdBmc9Id+tglkHi5Sp+L2+82yPVzV5E8OIY8RmHF5uNh7TRYNV QJ/6Xx3jzCHRNzsGkamJCoiyLmYs9lpEVztY70FTI2zi+GI3f/nmlinWcSRmepFQDXVz 61SuUF/ArBIp0JdKXoNDQcBd8Mi3VUnoctOw7ijg78gAZW3rIWdVWKvjtturPfqKO1Nu 4xLSCCfHAITS+jjwjqjJmRD14YPpX0+7hKnLA3K/HDuYfmxTIdA0MQW1H77kgSHj8q5J FzQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736496556; x=1737101356; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=OqK1Xd9dCh52ZFyz9AUWQsX1pTiDP6ZUmws0hqFeVt0=; b=lQASc8NyUACu/iQGYJXw9iszyH6t6xt9v4z64+Ja6NdtTFKXIn1FZe8JGmkUFN73xG UHasg/A99xgBobLOXQwUT+lWONd5o/c9RXol8uuUgTRELuT0Ya5O4UJ6jn5vq0OggjfY GKF2Ur0RohLWfxPgvw8FQIfg2y4YWvh3APfd7A+yzhq/9MxRA/WG8H8qB8R+xIMFMvDp VcNvy7I4hTDxh1lTiaGpH++qKE0fnW43NF8WEVlYm/sVj7aT7GlkclbjKvTcPMnKqTrO huGaidiZbWYKFX9U9WRs65I03Y6YI0xjdZjlnVNuqil11nWjul79LTkcS8SomoGWPXL5 U3EQ== X-Forwarded-Encrypted: i=1; AJvYcCV86wMzZ/ibMj1r6qOyuQTGWmW9cgHEYkv5Ik+3dJXShxVNiPMEDGxwSXMBxA9EAbjl2yFWh8ChBNGqCyY=@vger.kernel.org X-Gm-Message-State: AOJu0Yz4htDuy5OuWt5JeU7IoIA7S63DPtroeETfLzTlEbhZue+wt9xB gHPZBLQO9Uh9ka0Yv4T0LKs4nEKHZBI7g2Y3eUuTq4B5W4Xg1X29psldQMuaPnQ= X-Gm-Gg: ASbGncvnwdM94rlz10eSDxw8ZSIwHWXNBHFUwP2xaEz2HOf511knYzkFZlGvB3A7njh HAPXLZBzgbzfmRGUuzUBaquDi3D3U6lSuODbOslrDcxXS+kDW1rYdji06s6f25O28s3kfuZdZct tH9Rqrx0RKnpmh12T5HuQ8Om+oON6eMjnAQm+R4BLroWdCKkbLEGbjL3YiKJ6mfAwguCvyOueMW M+DGQKmQNQ+qn5FWd3jIU8hEJ/+Bw0WHUVAIkg0xmZStrpVRVRjdPPs1xSW9J1849l1DeRZJxcm FiQ4ZED3owbpeExAw9vdFg46dw4= X-Google-Smtp-Source: AGHT+IGM+oE6B0mLhX2rFR7hL08R4c0/Vf0BCLVGjzA7FA5vJGzoY05bkb33gzUqmDXYoRivnGPGaw== X-Received: by 2002:a05:6000:712:b0:385:e8dd:b143 with SMTP id ffacd0b85a97d-38a87306a79mr7919681f8f.19.1736496556503; Fri, 10 Jan 2025 00:09:16 -0800 (PST) Received: from [192.168.1.74] (88-187-86-199.subs.proxad.net. [88.187.86.199]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38a8e4b80b2sm3795412f8f.80.2025.01.10.00.09.15 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 10 Jan 2025 00:09:16 -0800 (PST) Message-ID: <1a52f5d2-0ded-4768-a582-6aa2f88ce297@linaro.org> Date: Fri, 10 Jan 2025 09:09:15 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] MIPS: traps: Use str_enabled_disabled() in parity_protection_init() To: Thorsten Blum , Thomas Bogendoerfer , Jiaxun Yang , Gregory CLEMENT , Huang Pei , Vladimir Kondratiev Cc: Christophe JAILLET , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org References: <20250109215524.195008-2-thorsten.blum@linux.dev> Content-Language: en-US From: =?UTF-8?Q?Philippe_Mathieu-Daud=C3=A9?= In-Reply-To: <20250109215524.195008-2-thorsten.blum@linux.dev> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 9/1/25 22:55, Thorsten Blum wrote: > Remove hard-coded strings by using the str_enabled_disabled() helper > function. > > Use pr_info() instead of printk(KERN_INFO) to silence multiple > checkpatch warnings. > > Suggested-by: Christophe JAILLET > Signed-off-by: Thorsten Blum > --- > arch/mips/kernel/traps.c | 17 +++++++++-------- > 1 file changed, 9 insertions(+), 8 deletions(-) Reviewed-by: Philippe Mathieu-Daudé