From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-183.mta1.migadu.com (out-183.mta1.migadu.com [95.215.58.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7D78F1FC3 for ; Tue, 5 Nov 2024 00:51:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.183 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730767878; cv=none; b=GeFVS2pHT91+A+sRkoJz/vxwvevFtQiI+2bBdSassBf6/8bQzIXpg/qU1BRS04rSSAB2s3ytDzQHZmPXZtsuDRbYQjNfBnbSA42J1pB11vRsXkiWbukHLjGlZvS21tgsWNkGY81rBiGYpusLKWcLFfA1p3BW7vB4XKzLb/OO2Fg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730767878; c=relaxed/simple; bh=qsRaukKKrdtSkAST308wPBqvq9LNUvMluUMqKWn1pmA=; h=Content-Type:Mime-Version:Subject:From:In-Reply-To:Date:Cc: Message-Id:References:To; b=KolB05xnJ7U+JVfvcOgUCQXyIpRpoW9TCRna9NwWpNBCwWQvVWQrH50/FaAgP/DnNlK/ID6i+/kffWCEpKzYaBA+r95cVGooiB8Ptui5pzLGf0NtcWz0jQMNPnHgpTHlCGPMn/RjlejZydT7Xhvq+UKn7mgEcq7sMAMYaTyDE4s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=vRQB9j4l; arc=none smtp.client-ip=95.215.58.183 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="vRQB9j4l" Content-Type: text/plain; charset=us-ascii DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1730767870; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=+UKCB4fnJE7P2wptGFsMdugCrAOnpjE5RGivFbdLh6Y=; b=vRQB9j4lYkersYex6ROrwaK1BDBfdQLkdbg4CFvcvXQjiwoSSnI+HqtJcXsXBlGo1sO6QG iB2wcbhUu/qcwNPj8LPpv2HOtMojMNaSjwT5F4+SLHub10Rah6rGroJ1S28JVgM7RBI0r0 rYl64wpdLRUuXv3bQTOLNHZ1F+C+hvg= Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3776.700.51.11.1\)) Subject: Re: [PATCH] MIPS: kernel: proc: Use str_yes_no() helper function X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Thorsten Blum In-Reply-To: Date: Tue, 5 Nov 2024 01:40:00 +0100 Cc: Thomas Bogendoerfer , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org Content-Transfer-Encoding: 7bit Message-Id: References: <20241102220437.22480-2-thorsten.blum@linux.dev> To: "Maciej W. Rozycki" X-Migadu-Flow: FLOW_OUT On 5. Nov 2024, at 00:51, Maciej W. Rozycki wrote: > On Tue, 5 Nov 2024, Thorsten Blum wrote: >> >> What about the comma and newline? Using str_yes_no() would remove them. > > This is why a minor code restructuring is needed so that the comma and > the new line are produced elsewhere (arguably a cleaner structure anyway). Ok, I'll submit a v2. Thanks, Thorsten