[folded-merged] kernel-doc-core-api-include-stringh-into-core-api-v2.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     Subject: kernel-doc: core-api: Include string.h into core-api
has been removed from the -mm tree.  Its filename was
     kernel-doc-core-api-include-stringh-into-core-api-v2.patch

This patch was dropped because it was folded into kernel-doc-core-api-include-stringh-into-core-api.patch

------------------------------------------------------
From: Joe Perches <joe@xxxxxxxxxxx>
Subject: kernel-doc: core-api: Include string.h into core-api

correct return of -E2BIG descriptions

Link: http://lkml.kernel.org/r/29f998b4c1a9d69fbeae70500ba0daa4b340c546.1563889130.git.joe@xxxxxxxxxxx
Signed-off-by: Joe Perches <joe@xxxxxxxxxxx>
Cc: Jonathan Corbet <corbet@xxxxxxx>
Cc: Stephen Kitt <steve@xxxxxxx>
Cc: Kees Cook <keescook@xxxxxxxxxxxx>
Cc: Nitin Gote <nitin.r.gote@xxxxxxxxx>
Cc: Rasmus Villemoes <rasmus.villemoes@xxxxxxxxx>
Cc: Jann Horn <jannh@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 lib/string.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- a/lib/string.c~kernel-doc-core-api-include-stringh-into-core-api-v2
+++ a/lib/string.c
@@ -175,7 +175,7 @@ EXPORT_SYMBOL(strlcpy);
  *
  * Returns:
  * * The number of characters copied (not including the trailing %NUL)
- * * -E2BIG if count is 0.
+ * * -E2BIG if count is 0 or @src was truncated.
  */
 ssize_t strscpy(char *dest, const char *src, size_t count)
 {
@@ -256,7 +256,7 @@ EXPORT_SYMBOL(strscpy);
  *
  * Returns:
  * * The number of characters copied (not including the trailing %NUL)
- * * -E2BIG if count is 0.
+ * * -E2BIG if count is 0 or @src was truncated.
  */
 ssize_t strscpy_pad(char *dest, const char *src, size_t count)
 {
_

Patches currently in -mm which might be from joe@xxxxxxxxxxx are

kernel-doc-core-api-include-stringh-into-core-api.patch
checkpatch-dont-interpret-stack-dumps-as-commit-ids.patch
checkpatch-improve-spdx-license-checking.patch
checkpatch-prefer-__section-over-__attribute__section.patch
checkpatch-allow-consecutive-close-braces.patch
checkpatch-make-git-output-use-language=en_usutf8.patch




[Index of Archives]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux