From: Linus Torvalds Date: Wed, 7 Oct 2015 08:52:42 +0000 (+0100) Subject: Merge branch 'strscpy' of git://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf... X-Git-Tag: v4.3-rc5~28 X-Git-Url: http://git.cascardo.eti.br/?a=commitdiff_plain;h=79c7c7acd25689b1d7669bdb33fb3cb7c64541fe;p=cascardo%2Flinux.git Merge branch 'strscpy' of git://git./linux/kernel/git/cmetcalf/linux-tile Pull strscpy fixes from Chris Metcalf : "This patch series fixes up a couple of architecture issues where strscpy wasn't configured correctly (missing on h8300, duplicating local and asm-generic copies on powerpc and tile). It also adds a use of zero_bytemask() to the final store for strscpy to avoid writing uninitialized data to the destination. However, to make this work we had to add support for zero_bytemask() to the two architectures that didn't have it (alpha and tile), because they were providing their own local copies, but didn't provide the zero_bytemask() that was previously only required when building with CONFIG_DCACHE_WORD_ACCESS" [ Side note: there is still no actual users of strscpy except for the one preexisting use in arch/tile that predates the generic version. So this is all about fixing the infrastructure so that we eventually can start using it. - Linus ] * 'strscpy' of git://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/linux-tile: strscpy: zero any trailing garbage bytes in the destination word-at-a-time.h: support zero_bytemask() on alpha and tile word-at-a-time.h: fix some Kbuild files --- 79c7c7acd25689b1d7669bdb33fb3cb7c64541fe