]> git.baikalelectronics.ru Git - kernel.git/commit
m68k: Use BUILD_BUG for passing invalid sizes to get_user/put_user
authorChristoph Hellwig <hch@lst.de>
Thu, 16 Sep 2021 07:04:02 +0000 (09:04 +0200)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Fri, 24 Sep 2021 11:35:06 +0000 (13:35 +0200)
commitfbf24a7ea72dd3bba2cb54b2e639efd1fcc9dd0a
treeef3e103dae48b5c2ff7a047670123ce2ccca3ee0
parentde746934a74978c02da6b8af8e72a2222c6eb558
m68k: Use BUILD_BUG for passing invalid sizes to get_user/put_user

Simplify the handling a bit by using the common helper instead of
referencing undefined symbols.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Michael Schmitz <schmitzmic@gmail.com>
Tested-by: Michael Schmitz <schmitzmic@gmail.com>
Link: https://lore.kernel.org/r/20210916070405.52750-4-hch@lst.de
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
arch/m68k/include/asm/uaccess.h