treewide: fix up files incorrectly marked executable
authorLinus Torvalds <torvalds@linux-foundation.org>
Sat, 7 Apr 2018 20:31:23 +0000 (13:31 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 7 Apr 2018 20:31:23 +0000 (13:31 -0700)
commit90fda63fa1156ec1bcfd7f9ca384cec221f70a21
tree7b0f472b95c5a9add9f76f3a4e93e6f8d288dda6
parent0d5b1bd332e09acffa6569dd6458199b3894d496
treewide: fix up files incorrectly marked executable

Joe Perches noted that we have a few source files that for some
inexplicable reason (read: I'm too lazy to even go look at the history)
are marked executable:

  drivers/gpu/drm/amd/amdgpu/vce_v4_0.c
  drivers/net/ethernet/cadence/macb_ptp.c

A simple git command line to show executable C/asm/header files is this:

    git ls-files -s '*.[chsS]' | grep '^100755'

and then you can fix them up with scripting by just feeding that output
into:

    | cut -f2 | xargs chmod -x

and commit it.

Which is exactly what this commit does.

Reported-by: Joe Perches <joe@perches.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/gpu/drm/amd/amdgpu/vce_v4_0.c [changed mode: 0755->0644]
drivers/net/ethernet/cadence/macb_ptp.c [changed mode: 0755->0644]