projects/linux·commit 90fda63f

treewide: fix up files incorrectly marked executable

90fda63f · Linus Torvalds <[email protected]> · 2018-04-07 13:31:23 -07:00

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 <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Commit
90fda63fa1156ec1bcfd7f9ca384cec221f70a21
Parents
0d5b1bd3

Changes

2 files changed · +0 −0

drivers/gpu/drm/amd/amdgpu/vce_v4_0.c

View file
diff --git a/drivers/gpu/drm/amd/amdgpu/vce_v4_0.c b/drivers/gpu/drm/amd/amdgpu/vce_v4_0.c
old mode 100755
new mode 100644

drivers/net/ethernet/cadence/macb_ptp.c

View file
diff --git a/drivers/net/ethernet/cadence/macb_ptp.c b/drivers/net/ethernet/cadence/macb_ptp.c
old mode 100755
new mode 100644