fs/binfmt_em86.c: fix incompatible pointer type
authorDaniel Wagner <[email protected]>
Tue, 2 Aug 2016 21:04:57 +0000 (14:04 -0700)
committerLinus Torvalds <[email protected]>
Tue, 2 Aug 2016 23:35:15 +0000 (19:35 -0400)
commita310dcb7a43f971ee7d810fbbe36bd766a299717
tree04758b5041d1138f56c1a742dd838afed1daadee
parentba093a6d9397da8eafcfbaa7d95bd34255da39a0
fs/binfmt_em86.c: fix incompatible pointer type

Since the -Wincompatible-pointer-types is reported as error, alpha
doesn't build anymore.  Let's fix it in a minimal way.

  fs/binfmt_em86.c:73:35: error: passing argument 2 of `copy_strings_kernel' from incompatible pointer type [-Werror=incompatible-pointer-types]
     retval = copy_strings_kernel(1, &i_arg, bprm);
                                     ^            ^
  fs/binfmt_em86.c:77:34: error: passing argument 2 of `copy_strings_kernel' from incompatible pointer type [-Werror=incompatible-pointer-types]
    retval = copy_strings_kernel(1, &i_name, bprm);
                                    ^

Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Daniel Wagner <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
fs/binfmt_em86.c