On 11/30/18 2:27 PM, Jarkko Sakkinen wrote:
In order to comply with the CoC, replace **** with a hug.
To be honest the source has been full of sh!t and other expressions
for a long long time now. I am sure we all know this and it would
take a pile of effort to clean^H^H^H^Hsanitize and ruin the flavour and
ambiance of the whole damn thing. Everyone knows this :
c $ find . -type f | xargs grep -ic " shit " | grep -v ":0$" | awk
'BEGIN{FS=":";print "\nshitlist"}{print $2 " " $1}' | sort -n
shitlist
1 ./linux-4.20-rc4/arch/powerpc/kernel/eeh_driver.c
1 ./linux-4.20-rc4/arch/sparc/kernel/pcic.c
1 ./linux-4.20-rc4/arch/sparc/mm/srmmu.c
1 ./linux-4.20-rc4/drivers/ata/sata_via.c
1 ./linux-4.20-rc4/drivers/infiniband/hw/qib/qib_file_ops.c
1 ./linux-4.20-rc4/drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c
1 ./linux-4.20-rc4/drivers/net/ethernet/sun/sunhme.c
1 ./linux-4.20-rc4/drivers/net/wan/z85230.c
1 ./linux-4.20-rc4/drivers/net/wireless/intel/iwlegacy/3945-mac.c
1 ./linux-4.20-rc4/net/ipv4/tcp_input.c
1 ./linux-4.20-rc4/sound/pci/ac97/ac97_patch.c
1 ./linux-4.20-rc4/sound/pci/cs46xx/dsp_spos_scb_lib.c
c $
c $ find . -type f | xargs grep -ic " piss " | grep -v ":0$" | awk
'BEGIN{FS=":";print "\npisspot"}{print $2 " " $1}' | sort -n
pisspot
1 ./linux-4.20-rc4/Documentation/process/submitting-patches.rst
1 ./linux-4.20-rc4/Documentation/translations/ja_JP/SubmittingPatches
1 ./linux-4.20-rc4/Documentation/translations/zh_CN/SubmittingPatches
c $
c $ grep -in " piss "
./linux-4.20-rc4/Documentation/process/submitting-patches.rst
817:Greg Kroah-Hartman, "How to piss off a kernel subsystem maintainer".
c $ find . -type f | xargs grep -ic " fuck " | grep -v ":0$" | awk
'BEGIN{FS=":";print "\nfucked"}{print $2 " " $1}' | sort -n
fucked
1 ./linux-4.20-rc4/Documentation/kernel-hacking/locking.rst
1 ./linux-4.20-rc4/arch/m68k/include/asm/sun3ints.h
1 ./linux-4.20-rc4/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/fuc/macros.fuc
1 ./linux-4.20-rc4/drivers/media/i2c/bt819.c
1 ./linux-4.20-rc4/drivers/net/ethernet/sun/sunhme.c
c $
c $ find . -type f | xargs grep -ic " fucked " | grep -v ":0$" | awk
'BEGIN{FS=":";print "\nreally fucked"}{print $2 " " $1}' | sort -n
really fucked
1 ./linux-4.20-rc4/drivers/cpufreq/powernow-k7.c
1 ./linux-4.20-rc4/drivers/ide/cmd640.c
1 ./linux-4.20-rc4/fs/notify/inotify/inotify_user.c
1 ./linux-4.20-rc4/lib/vsprintf.c
12 ./linux-4.20-rc4/arch/mips/pci/ops-bridge.c
c $
The finest example of colorful comments is arch/mips/pci/ops-bridge.c:
54 addr =
&bridge->b_type0_cfg_dev[slot].f[fn].c[PCI_VENDOR_ID];
55 if (get_dbe(cf, (u32 *) addr))
56 return PCIBIOS_DEVICE_NOT_FOUND;
57
58 /*
59 * IOC3 is fucking fucked beyond belief ... Don't even
give the
60 * generic PCI code a chance to look at it for real ...
61 */
62 if (cf == (PCI_VENDOR_ID_SGI | (PCI_DEVICE_ID_SGI_IOC3
<< 16)))
63 goto oh_my_gawd;
64
.
.
.
76 oh_my_gawd:
77
78 /*
79 * IOC3 is fucking fucked beyond belief ... Don't even
give the
80 * generic PCI code a chance to look at the wrong register.
81 */
82 if ((where >= 0x14 && where < 0x40) || (where >= 0x48)) {
83 *value = emulate_ioc3_cfg(where, size);
84 return PCIBIOS_SUCCESSFUL;
85 }
86
87 /*
88 * IOC3 is fucking fucked beyond belief ... Don't try
to access
89 * anything but 32-bit words ...
90 */
91 addr = &bridge->b_type0_cfg_dev[slot].f[fn].l[where >> 2];
92
Ah yes .. I remember the days when IBM bought Lotus and no one could
have a beer in the office anymore. Everyone that was good walked out.
Let's not do that.
Dennis Clarke