Skip to contentSkip to conversation

treewide: fix up files incorrectly marked executable

PATCH New Fabio Estevam 2 participants 2 messages Apr 7, 2018 – Apr 9, 2018 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 treewide: fix up files incorrectly marked executable

From: Fabio Estevam <[email protected]>

Inspired by the following kernel commit:

"commit 90fda63fa1156ec1bcfd7f9ca384cec221f70a21

Author: Linus Torvalds <[email protected]>
Date:   Sat Apr 7 13:31:23 2018 -0700

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.

Do the same in the U-Boot source tree.

---
 drivers/video/anx9804.c   | 0
 include/configs/blanche.h | 0
 2 files changed, 0 insertions(+), 0 deletions(-)
 mode change 100755 => 100644 drivers/video/anx9804.c
 mode change 100755 => 100644 include/configs/blanche.h
drivers/video/anx9804.c +0 -0
old mode 100755
new mode 100644
include/configs/blanche.h +0 -0
old mode 100755
new mode 100644
Signature · 1 line
2.7.4
#1 lore raw

PATCH 1/1 treewide: fix up files incorrectly marked executable

Hi Fabio,

On Sat, 7 Apr 2018 18:06:27 -0300
Fabio Estevam festevam at gmail.com wrote:
...

Quoted 9 lines

Do the same in the U-Boot source tree.

---
 drivers/video/anx9804.c   | 0
 include/configs/blanche.h | 0
 2 files changed, 0 insertions(+), 0 deletions(-)
 mode change 100755 => 100644 drivers/video/anx9804.c
 mode change 100755 => 100644 include/configs/blanche.h

Applied to u-boot-video/master, thanks!

--
Anatolij