Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1682223 > unrolled thread

[git pull] vfs.git pile 10

Started byAl Viro <viro@ZenIV.linux.org.uk>
First post2017-07-06 11:20 +0200
Last post2017-07-07 07:30 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [git pull] vfs.git pile 10 Al Viro <viro@ZenIV.linux.org.uk> - 2017-07-06 11:20 +0200
    Re: [git pull] vfs.git pile 10 Linus Torvalds <torvalds@linux-foundation.org> - 2017-07-07 07:30 +0200

#1682223 — [git pull] vfs.git pile 10

FromAl Viro <viro@ZenIV.linux.org.uk>
Date2017-07-06 11:20 +0200
Subject[git pull] vfs.git pile 10
Message-ID<u0b73-2ls-5@gated-at.bofh.it>
	uaccess str...() dead code removals.

The following changes since commit 2ea659a9ef488125eb46da6eb571de5eae5c43f6:

  Linux 4.12-rc1 (2017-05-13 13:19:49 -0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git uaccess.strlen

for you to fetch changes up to b7310105ab2cd9168fe50564d8b9d248325a326e:

  s390 keyboard.c: don't open-code strndup_user() (2017-05-15 23:41:50 -0400)

----------------------------------------------------------------
Al Viro (4):
      kill strlen_user()
      get rid of unused __strncpy_from_user() instances
      mips: get rid of unused __strnlen_user()
      s390 keyboard.c: don't open-code strndup_user()

 arch/alpha/include/asm/uaccess.h      |   1 -
 arch/arm/include/asm/uaccess.h        |   1 -
 arch/arm64/include/asm/uaccess.h      |   1 -
 arch/blackfin/include/asm/uaccess.h   |   7 --
 arch/cris/include/asm/uaccess.h       |   8 --
 arch/frv/include/asm/uaccess.h        |   2 -
 arch/ia64/include/asm/uaccess.h       |  12 --
 arch/ia64/lib/Makefile                |   2 +-
 arch/ia64/lib/strlen_user.S           | 200 ----------------------------------
 arch/m32r/include/asm/uaccess.h       |  18 ---
 arch/m32r/kernel/m32r_ksyms.c         |   1 -
 arch/m32r/lib/usercopy.c              |   8 --
 arch/m68k/include/asm/uaccess_mm.h    |   1 -
 arch/m68k/include/asm/uaccess_no.h    |   2 -
 arch/metag/include/asm/uaccess.h      |   2 -
 arch/microblaze/include/asm/uaccess.h |   4 +-
 arch/mips/include/asm/uaccess.h       | 130 ----------------------
 arch/mips/lib/Makefile                |   2 +-
 arch/mips/lib/strlen_user.S           |  65 -----------
 arch/mips/lib/strncpy_user.S          |   6 -
 arch/mips/lib/strnlen_user.S          |   6 -
 arch/mn10300/include/asm/uaccess.h    |   2 -
 arch/mn10300/kernel/mn10300_ksyms.c   |   1 -
 arch/mn10300/lib/usercopy.c           |   8 --
 arch/openrisc/include/asm/uaccess.h   |   1 -
 arch/parisc/include/asm/uaccess.h     |   1 -
 arch/powerpc/include/asm/uaccess.h    |   1 -
 arch/s390/include/asm/uaccess.h       |  17 ---
 arch/score/include/asm/uaccess.h      |   6 -
 arch/score/lib/string.S               |  28 -----
 arch/sh/include/asm/uaccess.h         |   1 -
 arch/sparc/include/asm/uaccess_32.h   |   1 -
 arch/sparc/include/asm/uaccess_64.h   |   1 -
 arch/tile/include/asm/uaccess.h       |   1 -
 arch/um/kernel/process.c              |   5 -
 arch/x86/include/asm/uaccess.h        |   1 -
 arch/xtensa/include/asm/uaccess.h     |   6 +-
 drivers/s390/char/keyboard.c          |   7 +-
 include/asm-generic/uaccess.h         |   5 -
 lib/strnlen_user.c                    |  34 ------
 40 files changed, 5 insertions(+), 601 deletions(-)
 delete mode 100644 arch/ia64/lib/strlen_user.S
 delete mode 100644 arch/mips/lib/strlen_user.S

[toc] | [next] | [standalone]


#1682924

FromLinus Torvalds <torvalds@linux-foundation.org>
Date2017-07-07 07:30 +0200
Message-ID<u0u01-7MJ-5@gated-at.bofh.it>
In reply to#1682223
On Thu, Jul 6, 2017 at 2:11 AM, Al Viro <viro@zeniv.linux.org.uk> wrote:
>         uaccess str...() dead code removals.

Side note: you left a couple of references to strlen_user() still in the tree.

None of them *matter* (two comments and one declaration for the
function that no longer exists), but it just strikes me as a bit of an
odd oversight.

Are those removals perhaps in other trees (and you didn't want to
clash) or was it literally just "oops, I caught almost everything
except for those three cases"?

         Linus

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web