From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-181.mta0.migadu.com (out-181.mta0.migadu.com [91.218.175.181]) (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 A1AD93CF689 for ; Mon, 27 Apr 2026 13:59:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.181 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777298346; cv=none; b=ErEeg15psrzGGuuX/ZN4QPwzjcxUH+tiWXryEGQrqI98QvrrCB8FDs2dZ36bSESVlvazG11mS7LnMKzjv6A46Go9ZnW5kz917bofakwLlVEmSOLmPb7DMwEaqremA9dMNK4jrXkONWed+pzo3ovboOj2ZadkMj/xJ9i9+pNDxZw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777298346; c=relaxed/simple; bh=+YzgF6ySN9VTzZvacJUt0H/0kUIXVafLw5DX0bEg834=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=nAItZ+bYOeNwsgWpyCaP1kNcS4sthN01BsJ4+PX09XeFRfmnt3DIlZV2DCVsoVdYQJEVqWXCat6mdeQfo8ms5Ss+DsAB3ZI4QXbKSllxx+lduFScD2ezvzRDKzxaVeOJksYxBLN93vA4bg4Ct7MVOJ0KV4wdPCT4DQNuzlL3kfc= 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=KAHomSWO; arc=none smtp.client-ip=91.218.175.181 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="KAHomSWO" Date: Mon, 27 Apr 2026 15:58:58 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1777298342; 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: in-reply-to:in-reply-to:references:references; bh=tjzUh6En1w8P94Pz4L1rvJR5Ts2hAoap8CjLzsNTCIA=; b=KAHomSWOi5JJmULstMvgZvs2QE+y9DGf5GxyTz1+PkUOTTzYyO+CEZuMnWyLCKC/vHAoYG 7yfSOMSOCaXjwB+KnDCb7tsMhK3hY15w3Sd/fWBM5cVdfA/fmewf6N5ALOTvYfALI1rJCi 8KjhXgawn5Jr8hSD8Lme6lzCsj3SzzQ= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Thorsten Blum To: Jan Kara Cc: Alexander Viro , Christian Brauner , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] dcache: use QSTR() instead of QSTR_INIT() Message-ID: References: <20260422123345.100436-2-thorsten.blum@linux.dev> <4pinx2ihfsrbk5wypfhfx46p3g4wd3ko3i6dxqyy64m7fquzqy@dnob2jlgqqt3> 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: <4pinx2ihfsrbk5wypfhfx46p3g4wd3ko3i6dxqyy64m7fquzqy@dnob2jlgqqt3> X-Migadu-Flow: FLOW_OUT On Wed, Apr 22, 2026 at 02:51:19PM +0200, Jan Kara wrote: > On Wed 22-04-26 14:33:46, Thorsten Blum wrote: > > Drop the hard-coded length arguments and use the simpler QSTR(). > > > > Signed-off-by: Thorsten Blum > > Sure. Feel free to add: > > Reviewed-by: Jan Kara Hi Jan, This should probably be dropped as it doesn't compile on architectures where strlen() cannot be folded to a constant at compile time (e.g., arch/sh, arch/arc). Thanks, Thorsten