From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f202.google.com (mail-pl1-f202.google.com [209.85.214.202]) (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 39EBF41C6A for ; Thu, 16 Jan 2025 18:27:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.202 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737052055; cv=none; b=h9wDI0+Wn4Chv7ZtzL6o7/zbwzXZ1/93wYvC0V+0FOUs8R0q+gxNPlUirqzH99eAJ7Wsb+hW45ji6tfrAiA25nOYg/n27B4E2UCGcqwrQkCMQnUe4ggpois40pruelmlh+GRPKAm23jqu9oeCkWIkk3LRbhrOHtNFOEEHq2msGk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737052055; c=relaxed/simple; bh=mSOnD0JKoS9G6zk6y3czj4rABey03KvbZphBHRnfVkw=; h=Date:Mime-Version:Message-ID:Subject:From:To:Cc:Content-Type; b=VGzK+81V4SCperFNmgiBz2b1SGSxpmZf7R86c0xR6YwI2KxtbY8OgrsxLCmlok2oyEW7gO20P54lLbTDUR0PDvd2fcvKs1bEmbyS6k076w2hDn9cvJ1XbKYyCk9d5u9LITLe6/afnutAJrXSQGpcM35lKzMdxzOLfs0GiDblcw8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--surenb.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=m5Uv/U2x; arc=none smtp.client-ip=209.85.214.202 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--surenb.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="m5Uv/U2x" Received: by mail-pl1-f202.google.com with SMTP id d9443c01a7336-2162f80040aso22610525ad.1 for ; Thu, 16 Jan 2025 10:27:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1737052053; x=1737656853; darn=vger.kernel.org; h=cc:to:from:subject:message-id:mime-version:date:from:to:cc:subject :date:message-id:reply-to; bh=pSiQ9Tmlb8vxxvJ/2SgOC2ssEtNMCIyjTj/fdyffOrY=; b=m5Uv/U2x21yLjo060psi1akwJfsp0CpUO/6M+uWL/SUd7Oxd62HgbSu62VR1ASHHqJ M0n0RcyVn0eR3IEVJgQZvi81uRo6miJRAO252Ysy4E+oju5u3MVvhsgK/e23q6Q5amwX XrqnrYb/MO4kaOYZ84INvAYzvxFbW0EWLZ2y2GrnuTI7LekeoM9rPjydD+0s4bbhU/Q5 Qo0vH5M1BJa9wFh55seQfgoT7czQaPMyrk03ou7gt5BV6eKLiHuwQivF2Pz00651soHg wmd9KyklRRRd35yFXs7iBhPosNfSfNvaOBzXbQ3JmnWNVYiAdVepxtW7p3jkX/n5VT6E 727w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737052053; x=1737656853; h=cc:to:from:subject:message-id:mime-version:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=pSiQ9Tmlb8vxxvJ/2SgOC2ssEtNMCIyjTj/fdyffOrY=; b=NSFg8DgMf74DlS62qgRlcwu3M85QVO714LMZEHfbtq4N9OV98poPxsggQcuyEPCuYS fszhijKFbFWzCDOD4imddWceJi9WT90ixoqYb99Hbgi/wOCXeW44A13zwOqw7ZsvqKap d3qFMFWqrQmu97L2+inAZmxl3lIs+vDKqtk+U5fB1w7n/SBrl/VO5j4Kq+ruDwMvqckp yhETn4WTvSkK5VpwqddhdDCyFfdHN+skz77imK203wOeYDxTaI4nlv/FnuaRhujDQ+Ma KcaIucwUCM3MSVVSyDPoT/FWMww+TVYoRCsSzZJM5IxldW2nz39upHPI6JuY3Enhtvxz 1Waw== X-Forwarded-Encrypted: i=1; AJvYcCWU/k9F9QPeRDlhfam71VojdyOL/cfl60BEnwWAVmoGbRTCCVEEfYD7iOJhWtFODTZ3Vd2R31h0d0U7kl8=@vger.kernel.org X-Gm-Message-State: AOJu0Yy3k/89SWNp1H/bLeA91sXxFUvRZDAgpoB96iJE18vSH5B+/3fU 9gfuJWGMIbheIoo97JrmFctrycAr2qCkahHaGwaHDeEu6s6C5wzWFVS8asdf0svFxsHHqcA5ohT ApA== X-Google-Smtp-Source: AGHT+IEd16FKhtp/gmqP1C+dt1H6XmkVhXDXKNb/BcDPaxcjvGwduHhhrBKnoFWvJAvZeTIpRCgR9bnFJGw= X-Received: from pgbdp13.prod.google.com ([2002:a05:6a02:f0d:b0:a8e:b839:de3b]) (user=surenb job=prod-delivery.src-stubby-dispatcher) by 2002:a17:902:ea09:b0:216:527b:5413 with SMTP id d9443c01a7336-21a83f67c04mr488576615ad.26.1737052053503; Thu, 16 Jan 2025 10:27:33 -0800 (PST) Date: Thu, 16 Jan 2025 10:27:30 -0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 X-Mailer: git-send-email 2.48.0.rc2.279.g1de40edade-goog Message-ID: <20250116182730.801497-1-surenb@google.com> Subject: [PATCH 1/1] seqlock: add missing parameter documentation for raw_seqcount_try_begin() From: Suren Baghdasaryan To: akpm@linux-foundation.org Cc: sfr@canb.auug.org.au, peterz@infradead.org, mingo@redhat.com, will@kernel.org, longman@redhat.com, boqun.feng@gmail.com, Liam.Howlett@Oracle.com, david@redhat.com, linux-kernel@vger.kernel.org, Suren Baghdasaryan Content-Type: text/plain; charset="UTF-8" Add missing documentation for raw_seqcount_try_begin() start parameter. Fixes: dba4761a3e40 ("seqlock: add raw_seqcount_try_begin") Reported-by: Stephen Rothwell Closes: https://lore.kernel.org/all/20250116170522.23e884d5@canb.auug.org.au/ Signed-off-by: Suren Baghdasaryan --- Applies over mm-unstable include/linux/seqlock.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/seqlock.h b/include/linux/seqlock.h index 22c2c48b4265..b783a3a7ed62 100644 --- a/include/linux/seqlock.h +++ b/include/linux/seqlock.h @@ -322,6 +322,7 @@ SEQCOUNT_LOCKNAME(mutex, struct mutex, true, mutex) * raw_seqcount_try_begin() - begin a seqcount_t read critical section * w/o lockdep and w/o counter stabilization * @s: Pointer to seqcount_t or any of the seqcount_LOCKNAME_t variants + * @start: count to be passed to read_seqcount_retry() * * Similar to raw_seqcount_begin(), except it enables eliding the critical * section entirely if odd, instead of doing the speculation knowing it will base-commit: 4637fa5d47a49c977116321cc575ea22215df22d -- 2.48.0.rc2.279.g1de40edade-goog