Skip to content

Commit

Permalink
treewide: fix up files incorrectly marked executable
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Linus Torvalds committed Apr 7, 2018
1 parent 0d5b1bd commit 90fda63
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 0 deletions.
Empty file modified drivers/gpu/drm/amd/amdgpu/vce_v4_0.c
100755 → 100644
Empty file.
Empty file modified drivers/net/ethernet/cadence/macb_ptp.c
100755 → 100644
Empty file.

0 comments on commit 90fda63

Please sign in to comment.