diff mbox series

[RFC,05/15] parisc: replace **** with a hug

Message ID 20181130192737.15053-6-jarkko.sakkinen@linux.intel.com (mailing list archive)
State Not Applicable
Headers show
Series None | expand

Commit Message

Jarkko Sakkinen Nov. 30, 2018, 7:27 p.m. UTC
In order to comply with the CoC, replace **** with a hug.

Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
---
 arch/parisc/kernel/sys_parisc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Dennis Clarke Nov. 30, 2018, 10:48 p.m. UTC | #1
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
Jarkko Sakkinen Nov. 30, 2018, 11:03 p.m. UTC | #2
On Fri, Nov 30, 2018 at 05:48:33PM -0500, Dennis Clarke wrote:
> 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.

Thank you for englightning response. Only today I learned about the 2nd
amendment that overrides the 1st amendment so all is good :-) I hope we
never get 3rd amandment to make this even more confusing...

/Jarkko
Diego Viola Nov. 30, 2018, 11:05 p.m. UTC | #3
On Fri, Nov 30, 2018 at 5:30 PM Jarkko Sakkinen
<jarkko.sakkinen@linux.intel.com> wrote:
>
> In order to comply with the CoC, replace **** with a hug.
>
> Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
> ---
>  arch/parisc/kernel/sys_parisc.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/parisc/kernel/sys_parisc.c b/arch/parisc/kernel/sys_parisc.c
> index 376ea0d1b275..4782c41f00c8 100644
> --- a/arch/parisc/kernel/sys_parisc.c
> +++ b/arch/parisc/kernel/sys_parisc.c
> @@ -287,7 +287,7 @@ asmlinkage unsigned long sys_mmap(unsigned long addr, unsigned long len,
>         }
>  }
>
> -/* Fucking broken ABI */
> +/* Hugging broken ABI */
>
>  #ifdef CONFIG_64BIT
>  asmlinkage long parisc_truncate64(const char __user * path,
> --
> 2.19.1
>

What about profanity in commit messages?
diff mbox series

Patch

diff --git a/arch/parisc/kernel/sys_parisc.c b/arch/parisc/kernel/sys_parisc.c
index 376ea0d1b275..4782c41f00c8 100644
--- a/arch/parisc/kernel/sys_parisc.c
+++ b/arch/parisc/kernel/sys_parisc.c
@@ -287,7 +287,7 @@  asmlinkage unsigned long sys_mmap(unsigned long addr, unsigned long len,
 	}
 }
 
-/* Fucking broken ABI */
+/* Hugging broken ABI */
 
 #ifdef CONFIG_64BIT
 asmlinkage long parisc_truncate64(const char __user * path,