From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.160.200 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796182863; b=QxaQ8ilwHfqp4LD4UDzbAmtjz5ZFlnu1odBiYJTAmTbxV1LNsujFqjbk69TROX1OqWYr l4hdqMjQkgIxf/I9zt5i0xs44TmwmGoM1SKCbS7ELwgIaZ6c3WOtlNPIP0heYLX5XYeoC fubsCQOTaZ844HDA32ZXdDL2FIbhxXcnGjJd9zeslsaedWuopMKyLzRce1QAC2No9HOw9 QlhF10pb+SwWseDDTsZGU0O+X/4mU5qTWZoP8PyN3O9sZXbGfrrp0uawpe9+7UkpDrPPS 9plmitiBcpGqKBF0IrxqEOJOiRU9rK5QdM4F7Yvg8RRvKJBQOq30KhG1TW9SyCxLZsA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796182863; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Received:Date:In-Reply-To: Mime-Version:References:Message-ID:Subject:From:To:Content-Type; bh=fF2DwKfsdb3KhIk0M+S4AO5vEfUTGNMaLHp8M0sf/vc=; b=e9PA68K4L20/roC2Fq3O8JSaMnm+3lBt1ZVGg5UnxCR7p8ErwNQGJRgvhNnP/D5yCf9K pwoSMk+LagjTj+D7MRQOZ8xXbnx4XiAFAGkrWjzOvJFaifYnHbunM1DDyIb0Hvi9AexSX 5ihn3PaghUz10qjdudpei5DS8SVhTBjPW14LFQLlMUDBAhE/4Ed2rWiwEdUbfMF1jm26i BnediMkpxOMGaXPhzI/9YZ2AH5wRVX9jhqFN/oQnr5PM4F52028pJR33ecw45AcFdidpI Ier7MTDR5KcQhXJVnT9KMfXdOXxiNL+ItGAOBf4LC1+5ATy+qNAi8R2l0mPB+PySdyg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=google.com; spf=pass smtp.mailfrom=flex--willemb.bounces.google.com; dkim=pass header.d=google.com header.i=@google.com header.a=rsa-sha256 header.s=20260707 header.b=qQLcg+w3; arc=none smtp.remote-ip=209.85.160.200 Received: from mail-qt1-f200.google.com (mail-qt1-f200.google.com [209.85.160.200]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B267A606A333 for ; Wed, 2 Dec 2026 03:41:02 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org B267A606A333 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--willemb.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.a=rsa-sha256 header.s=20260707 header.b=qQLcg+w3 Received: by mail-qt1-f200.google.com with SMTP id d75a77b69052e-55daa76673aso175085231cf.3 for ; Tue, 01 Dec 2026 19:41:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20260707; t=1796182862; x=1796787662; darn=vger.kernel.org; h=content-type:to:from:subject:message-id:references:mime-version :in-reply-to:date:from:to:cc:subject:date:message-id:reply-to :content-type; bh=fF2DwKfsdb3KhIk0M+S4AO5vEfUTGNMaLHp8M0sf/vc=; b=qQLcg+w3ltQutoDZEMfAlKeDDhKih9l2zQLGpuIaklKQTe9GJjaQVmPvQBONmMwAlE rPevTIrKdT/1rxnQC3W2e5JFlm6a5PNBFqihwKnSx9xiXh1ornJSzw69Fyw0qODa04Hw TpjxZ1kLTahJg7jvGnfWZsuOP/XbpLXwCgyYc14lj59nIIrwwxYk+LcIBsK/Jrm/iGa4 35LwEKD1rdesdKDaxg+mttINbDa0F9bjWyesBxVU1wcLG4phEQ+u+BZ/AJHEa1U3hoAK QzYztinLzO82ZkzI7+qKHRlFg7FFRDUPTY+LUXnPkZXVSjJtAB2pgEoh9+HXmMns3/JX wyFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796182862; x=1796787662; h=content-type:to:from:subject:message-id:references:mime-version :in-reply-to:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=fF2DwKfsdb3KhIk0M+S4AO5vEfUTGNMaLHp8M0sf/vc=; b=WSHUYZOgjLVRXfpZG7ZrHE8fEPiPDmH7E3U6AmCfgHwiQBCZY7kIb+wDy/9MxIXfa+ DeENHWd04JLL7cTuB2LfTOb1xyGkBjCz3pRa08AUYx9x4Zl/nltEucQ79G5H+HFEziZg jRSPC/5ZZjF2Kllnif7/3QGo0bCf5VyAplBkWEEef7mbpL5+2h9OFygwSL2q/v20mD5T xwSxrB3Onp6ZFQ7p6ZU6maj+4WcbwnIx+womcdoPkhv+tFF1SVaELrk0MHzThbKivSgq vk1cGmSUSir7tdD5fd1R6SArdtBtLvvH2HYkReRmAlhPyFMYxnoVsYeSR6G01fvlDqO6 dIDw== X-Forwarded-Encrypted: i=1; AL+hErFp5RvnKf6QJYUw/GhVYjemq0+Exwp11PYPF/FI93UWFo6gP6vTwfC6334bW3b4oGPDwBZNtj8=@vger.kernel.org X-Gm-Message-State: APuU4Z8IDHnP1NceozeKmhzpy2c37KJGgtU3aHUfFtPZ8pmIwr6MWKuX lJC9m8BgUNiiNu0cDV9HWyyAmHLc8rgJr1YkPW+TAq+eAYjGbc60y1M3fLrbrNJBrF6kDwJtR0g NXX6WdFNf6w== X-Received: from qtbl25-n1.prod.google.com ([2002:a05:622b:99:10b0:536:546a:eb2c]) (user=willemb job=prod-delivery.src-stubby-dispatcher) by 2002:a05:622a:e4d5:10b0:55d:bd9c:87a3 with SMTP id d75a77b69052e-55dbd9c8aa4mr314545801cf.45.1796182861558; Tue, 01 Dec 2026 19:41:01 -0800 (PST) Date: Tue, 01 Dec 2026 22:41:00 -0500 In-Reply-To: X-Mailing-List: netdev@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list Mime-Version: 1.0 References: Message-ID: Subject: Re: [PATCH] net: Add missing const From: willemb@google.com To: Alejandro Colomar , Joe Damato , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , netdev@vger.kernel.org, Simon Horman Content-Type: text/plain; charset="UTF-8"; format=flowed; delsp=yes Alejandro Colomar wrote: > Hi Joe, > > Date: 2026-11-25 10:38:26-0800 > > From: Joe Damato > > > > On Wed, Nov 25, 2026 at 07:19:51PM +0100, Alejandro Colomar wrote: > > > These pointers are derived from other const pointers. > > > > > > Signed-off-by: Alejandro Colomar > > > --- > > > > > > Hi, > > > > > > This was found when changing some APIs to preserve > the > > > const qualifier in the return type. > > > > > > > > > Have a lovely night! > > > Alex > > > > > > net/smc/smc_pnet.c | 4 ++-- > > > 1 file changed, 2 insertions(+), 2 deletions(-) > > > > patch seems right but i think the subject line and commit message could > be > > improved tbh > I kept it simple, because it's an obvious improvement, and adding more > text felt like bloating it too much, but if you propose any improvement, > I could incorporate it into the patch. At least the subsystem prefix, net/smc, and use get_maintainers.pl to Cc: the SMC maintainers. Right now skip_spaces returns non-const, so I did not see the point. But I guess you have a series that will make it const-preserving using _Generic. All that would be a helpful commit message. pw-bot: cr > > > > Reviewed-by: Joe Damato > Thanks! > Have a lovely night! > Alex > -- >