summaryrefslogtreecommitdiff
ModeNameSize
-rw-r--r--.gitignore9logplain
-rw-r--r--Makefile343logplain
-rwxr-xr-xgenerate_text.pl159logplain
-rw-r--r--inotail.c9174logplain
-rw-r--r--inotail.h889logplain
-rw-r--r--inotify-syscalls.h1706logplain
-rw-r--r--inotify-watchdir.c1778logplain
-rw-r--r--inotify.h2537logplain
-rw-r--r--simpletail.c4809logplain
const also. The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // <smpl> @r disable optional_qualifier@ identifier i; position p; @@ static struct net_device_ops i@p = { ... }; @ok@ identifier r.i; struct net_device e; position p; @@ e.netdev_ops = &i@p; @bad@ position p != {r.p,ok.p}; identifier r.i; struct net_device_ops e; @@ e@i@p @depends on !bad disable optional_qualifier@ identifier r.i; @@ static +const struct net_device_ops i = { ... }; // </smpl> The result of size on this file before the change is: text data bss dec hex filename 21623 1316 40 22979 59c3 drivers/net/ethernet/synopsys/dwc_eth_qos.o and after the change it is: text data bss dec hex filename 22199 724 40 22963 59b3 drivers/net/ethernet/synopsys/dwc_eth_qos.o Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/synopsys/dwc_eth_qos.c')