From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ot1-f50.google.com (mail-ot1-f50.google.com [209.85.210.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 C7DBB222560 for ; Mon, 29 Dec 2025 15:19:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.50 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767021588; cv=none; b=el+BeB4uuwNpWsmcPXIRR4PyKnEDdXhmN1Cc1MW7Y6feYj+MdeBRiKBH/uuVpM7Dmof2d52dqtSQtmX8sUa/JjxfEGYGRHHncKYnUeB/jcXNr2Xgmy9dht1cBrg5lLU/zoyWk92K/dxAbB0vXT73pAiaVAIDRSLjvu0BbEawOHo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767021588; c=relaxed/simple; bh=9hKz0YlE5sEF/vCIrriEA8uj+7j8dfzU6rsLnooTvL8=; h=From:To:Cc:In-Reply-To:References:Subject:Message-Id:Date: MIME-Version:Content-Type; b=pWn7Yg2AKK/EYDy+ESdKNgxgGIf07FPQIzulrBnUZm8pKuL4oynlUkg6333XEd3B+VTiT4/PdMKMFkAfYmFz2xjp2ejXslTmbksWWBd+5E2GjSGcKI2dR6WEGTrGXTUlcZfTZS9LEfnLjcUAQvLCCHoK8+Yhf3X/OKc5yKl0s9o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.dk; spf=pass smtp.mailfrom=kernel.dk; dkim=pass (2048-bit key) header.d=kernel-dk.20230601.gappssmtp.com header.i=@kernel-dk.20230601.gappssmtp.com header.b=b2hXL2Wf; arc=none smtp.client-ip=209.85.210.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.dk Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=kernel.dk Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel-dk.20230601.gappssmtp.com header.i=@kernel-dk.20230601.gappssmtp.com header.b="b2hXL2Wf" Received: by mail-ot1-f50.google.com with SMTP id 46e09a7af769-7cac8243bcdso5732205a34.3 for ; Mon, 29 Dec 2025 07:19:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20230601.gappssmtp.com; s=20230601; t=1767021586; x=1767626386; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:date:message-id:subject :references:in-reply-to:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=irnSD6CgsSgf53U6Y+/egPe34yR4vf5V/wX/ig9SSuI=; b=b2hXL2Wf9mePRnynlM9IySm9STQYEzpopwQ2zpbEhVZycUKxmHr5Khr0L3LUWn/JYx 4Lozz4s80sLOtCqDLkcdbAtmVdc7oybbtPihAAoIkG+Ne2txq8GjbiLmyiL2ZjluExWf ffAODkAVxmBonGpzFLbs3Y2bw3DxAY4Gh6wkIfBwAEP0uam/3W6cYCH7PylKtkVu0Vmd tRqM0bbptdUCwtbEWP+znRKiz9251fTTWZijiphjiCNbQkUy9RAkqRSIUFG/FYB8Q8bU wVSZFm4Ruj03xLGIVKmGG4oFbwid8/hLEbnP6tKZC8AkOsrXHKrsel06xYxIe5MsL7u0 MgFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1767021586; x=1767626386; h=content-transfer-encoding:mime-version:date:message-id:subject :references:in-reply-to:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=irnSD6CgsSgf53U6Y+/egPe34yR4vf5V/wX/ig9SSuI=; b=YPPcM3DGptbbycwjTAsUY5URq/AOuFhWHxzI0j1vaiTZ2tnovgLVCPTSGWikRHBZ7L 2HZh/sEAvk/xhS9s4DdU0Cd1Mi0gkAGkzL7YMgp6gp+yJcJPqDo/Mom4ObbmHEZjWz6K SjTjDQVcVo+SLEzRGXbjtAcaycNORTHrQNMob5LtMpYoIAjGlm2w1uUy87xr+Olahzgw PSYVGUinYmUG050Isn5j3GI2C2dsz9c7BzVCVwlyOpcjgq2MzCgkinaO329Wn06L4ls0 Tx3jLY8PQ8FhTs5cIQnQjsAjvvudjUA+YB386HjZvEBsZvrlSNb0lIqwpDT1ty1e4Ato 2LTQ== X-Gm-Message-State: AOJu0Yx01+CG1BXl4SFYu7lQj5jNQ/rtoM53+u7H/6Ej4yjbCjjnP0el meLNOHin5yUZY2+ZR+kObL0LcRpaNE1LyxcIsFQ1gKPn6s8yRZ8RUyJZ4z25ytJV3hM= X-Gm-Gg: AY/fxX4gp1POs5k4DlvT/2qLyUqhW61QPDFjtnzcJzay4kXHvVbRrVtXDQSqbL6DIkt GHVcSL4JrWep9nN5g+zHsHyTs8Sd/DGGduPvPEYcJ5DZN+Y2aK/0tuRa4h3shqfws7EjOzijFVu zhbgPPsXUJkk9pVOWMRTCPj/U9dJtn/kNxtCfni+DFJpHW/gknUxqEcThPLD+TXBEDnyl1GbBaF RIK3sOvQ1TETbeHobV6M/UADtKbB385ylmCIWuWN6iJR2DbX2ZRZUpwz4Oq0qZs1SNWJW0eBZE7 dd6Tu4+G3ZscLVR/A8qW9ahIeW/dPTYt+flhk+8EqN75dyWS9fUtYjosmZbBAImQwdgGWV+K1gh Sw9mu0D3RO2Nko9D2rhs9V8d5ADDRexQGq0rk6TrA9jRISyvNq5Pi9EGLYcmY5+GuIelN2Nv9t4 tnXzM= X-Google-Smtp-Source: AGHT+IH+3Cmic9K1ebyokljCYZKom3K2Sa8cUeN5BlUVC+hmDmyCYtsXap82Mh8gP3OFPeOK4v9kZQ== X-Received: by 2002:a05:6830:264a:b0:7c7:60aa:6496 with SMTP id 46e09a7af769-7cc66a0bb00mr16932231a34.4.1767021585790; Mon, 29 Dec 2025 07:19:45 -0800 (PST) Received: from [127.0.0.1] ([198.8.77.157]) by smtp.gmail.com with ESMTPSA id 46e09a7af769-7cc6673c32esm20939101a34.9.2025.12.29.07.19.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Dec 2025 07:19:45 -0800 (PST) From: Jens Axboe To: Christophe JAILLET Cc: linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, linux-block@vger.kernel.org In-Reply-To: <71cd74099b2b8ab7b153b2ea15b53944189d014b.1767003948.git.christophe.jaillet@wanadoo.fr> References: <71cd74099b2b8ab7b153b2ea15b53944189d014b.1767003948.git.christophe.jaillet@wanadoo.fr> Subject: Re: [PATCH] null_blk: Constify struct configfs_item_operations and configfs_group_operations Message-Id: <176702158486.237054.163427666901563233.b4-ty@kernel.dk> Date: Mon, 29 Dec 2025 08:19:44 -0700 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="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.14.3 On Mon, 29 Dec 2025 11:26:07 +0100, Christophe JAILLET wrote: > 'struct configfs_item_operations' and 'configfs_group_operations' are not > modified in this driver. > > Constifying these structures moves some data to a read-only section, so > increases overall security, especially when the structure holds some > function pointers. > > [...] Applied, thanks! [1/1] null_blk: Constify struct configfs_item_operations and configfs_group_operations commit: 9e371032cbf0c8fdc757df5510b55e824668b938 Best regards, -- Jens Axboe