public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] Expletives in the source code.
@ 2009-04-13 15:01 Steve Reckamp
  2009-04-13 15:39 ` John W. Linville
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Steve Reckamp @ 2009-04-13 15:01 UTC (permalink / raw)
  To: u-boot

In looking for offensive language in our source code, we came across
several occurrences in u-boot code: 

 

\u-boot-1.3.3\board\netphone\phone_console.c        Line 987 

\u-boot-1.3.3\tools\gdb\ serial.c
Line 113

\u-boot-1.3.3\lib_generic\vsprintf.c
Line 9

\u-boot-1.3.3\board\w7o\flash.c
Line 274

\u-boot-1.3.3\drivers\net\sk98lin\h\skgepnm2.h         Line 125 

 

Thanks,

 

Steve Reckamp

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [U-Boot] Expletives in the source code.
  2009-04-13 15:01 [U-Boot] Expletives in the source code Steve Reckamp
@ 2009-04-13 15:39 ` John W. Linville
  2009-04-13 16:11 ` Justin Waters
  2009-04-13 21:39 ` Mike Frysinger
  2 siblings, 0 replies; 7+ messages in thread
From: John W. Linville @ 2009-04-13 15:39 UTC (permalink / raw)
  To: u-boot

On Mon, Apr 13, 2009 at 10:01:02AM -0500, Steve Reckamp wrote:
> In looking for offensive language in our source code, we came across
> several occurrences in u-boot code: 

You forgot to attach the patch where you removed them all...

John
-- 
John W. Linville		Someday the world will need a hero, and you
linville at tuxdriver.com			might be all we have.  Be ready.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [U-Boot] Expletives in the source code.
  2009-04-13 15:01 [U-Boot] Expletives in the source code Steve Reckamp
  2009-04-13 15:39 ` John W. Linville
@ 2009-04-13 16:11 ` Justin Waters
  2009-04-13 17:52   ` Kumar Gala
  2009-04-13 21:39 ` Mike Frysinger
  2 siblings, 1 reply; 7+ messages in thread
From: Justin Waters @ 2009-04-13 16:11 UTC (permalink / raw)
  To: u-boot

On Mon, 2009-04-13 at 11:01 -0400, Steve Reckamp wrote:
> In looking for offensive language in our source code, we came across
> several occurrences in u-boot code: 
> 
>  
> 
> \u-boot-1.3.3\board\netphone\phone_console.c        Line 987 
> 
> \u-boot-1.3.3\tools\gdb\ serial.c
> Line 113
> 
> \u-boot-1.3.3\lib_generic\vsprintf.c
> Line 9
> 
> \u-boot-1.3.3\board\w7o\flash.c
> Line 274
> 
> \u-boot-1.3.3\drivers\net\sk98lin\h\skgepnm2.h         Line 125 
> 
>  
> 
> Thanks,
> 
>  
> 
> Steve Reckamp
> 

I've taken the liberty of sanitizing the U-Boot source code.  Please
consider this patch for inclusion into the next release.

Signed-off-by: Justin Waters <justin.waters@gmail.com>

-----------------------------------------------

diff --git a/board/netphone/phone_console.c b/board/netphone/phone_console.c
index 408ada0..d90def1 100644
--- a/board/netphone/phone_console.c
+++ b/board/netphone/phone_console.c
@@ -984,7 +984,7 @@ unsigned int kp_get_col_mask(unsigned int row_mask)
 	col_mask = kp_data_transfer(val) & 0x0F;
 #elif CONFIG_NETPHONE_VERSION == 2
 	col_mask = ((volatile immap_t *)CFG_IMMR)->im_cpm.cp_pedat & 0x0f;
-	/* XXX FUCK FUCK FUCK FUCK FUCK!!!! */
+	/* XXX MAKE LOVE BUSINESS TIME HORIZONTAL MAMBO MAKE BABIES MAKE WHOOPIE!!!! */
 	col_mask = ((col_mask & 0x08) >> 3) |	/* BKBR1 */
 		   ((col_mask & 0x04) << 1) |	/* BKBR2 */
 		    (col_mask & 0x02) |		/* BKBR3 */
diff --git a/board/w7o/flash.c b/board/w7o/flash.c
index 32815fb..199bbbd 100644
--- a/board/w7o/flash.c
+++ b/board/w7o/flash.c
@@ -271,7 +271,7 @@ static ulong flash_get_size (vu_long *addr, flash_info_t *info)
 		return 0;
 	}
 
-	/* Device ID - This shit is interleaved... */
+	/* Device ID - This number 2 is interleaved... */
 	value = *(addr2 + 1);
 	switch (value) {
 	    case (unsigned long)INTEL_ID_28F320J3A:
diff --git a/drivers/net/sk98lin/h/skgepnm2.h b/drivers/net/sk98lin/h/skgepnm2.h
index e812f28..762d13d 100644
--- a/drivers/net/sk98lin/h/skgepnm2.h
+++ b/drivers/net/sk98lin/h/skgepnm2.h
@@ -122,7 +122,7 @@
  *	-Changed type of Action form SK_U8 to int
  *
  *	Revision 1.9  1998/10/21 13:34:45  mhaveman
- *	Shit, mismatched calculation of SK_PNMI_HUNDREDS_SEC. Corrected.
+ *	Fudgsicle, mismatched calculation of SK_PNMI_HUNDREDS_SEC. Corrected.
  *
  *	Revision 1.8  1998/10/21 13:24:58  mhaveman
  *	Changed calculation of hundreds of seconds.
diff --git a/include/asm-arm/arch-pxa/hardware.h b/include/asm-arm/arch-pxa/hardware.h
index c8c479a..6529bc3 100644
--- a/include/asm-arm/arch-pxa/hardware.h
+++ b/include/asm-arm/arch-pxa/hardware.h
@@ -72,7 +72,7 @@ typedef struct { volatile u32 offset[4096]; } __regbase;
 # define __REG(x)	__REGP(io_p2v(x))
 #endif
 
-/* Let's kick gcc's ass again... */
+/* Let's kick gcc's bum again... */
 # define __REG2(x,y)	\
 	( __builtin_constant_p(y) ? (__REG((x) + (y))) \
 				  : (*(volatile u32 *)((u32)&__REG(x) + (y))) )
diff --git a/lib_generic/vsprintf.c b/lib_generic/vsprintf.c
index 7c9cfe1..cf1cf67 100644
--- a/lib_generic/vsprintf.c
+++ b/lib_generic/vsprintf.c
@@ -6,7 +6,7 @@
 
 /* vsprintf.c -- Lars Wirzenius & Linus Torvalds. */
 /*
- * Wirzenius wrote this portably, Torvalds fucked it up :-)
+ * Wirzenius wrote this portably, Torvalds sexed it up :-)
  */
 
 #include <stdarg.h>
diff --git a/tools/gdb/serial.c b/tools/gdb/serial.c
index 2f2e529..038f99c 100644
--- a/tools/gdb/serial.c
+++ b/tools/gdb/serial.c
@@ -110,7 +110,7 @@ serialreadchar(int fd, int timeout)
     FD_ZERO(&fds);
     FD_SET(fd, &fds);
 
-    /* this is a fucking horrible quick hack - fix this */
+    /* this is a boot knocking horrible quick hack - fix this */
 
     if ((n = select(fd + 1, &fds, 0, 0, &tv)) < 0)
 	return SERIAL_ERROR;

---

;)

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [U-Boot] Expletives in the source code.
  2009-04-13 16:11 ` Justin Waters
@ 2009-04-13 17:52   ` Kumar Gala
  2009-04-13 20:56     ` Wolfgang Denk
  0 siblings, 1 reply; 7+ messages in thread
From: Kumar Gala @ 2009-04-13 17:52 UTC (permalink / raw)
  To: u-boot


On Apr 13, 2009, at 11:11 AM, Justin Waters wrote:

>
> I've taken the liberty of sanitizing the U-Boot source code.  Please
> consider this patch for inclusion into the next release.
>
> Signed-off-by: Justin Waters <justin.waters@gmail.com>

I vote this as best patch of 2009.

- k

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [U-Boot] Expletives in the source code.
  2009-04-13 17:52   ` Kumar Gala
@ 2009-04-13 20:56     ` Wolfgang Denk
  0 siblings, 0 replies; 7+ messages in thread
From: Wolfgang Denk @ 2009-04-13 20:56 UTC (permalink / raw)
  To: u-boot

Dear Kumar,

In message <019C200B-ECC7-47B8-8AD0-06DEAF85CBF1@kernel.crashing.org> you wrote:
> 
> On Apr 13, 2009, at 11:11 AM, Justin Waters wrote:
> 
> > I've taken the liberty of sanitizing the U-Boot source code.  Please
> > consider this patch for inclusion into the next release.
> >
> > Signed-off-by: Justin Waters <justin.waters@gmail.com>
> 
> I vote this as best patch of 2009.

Agreed. The only deficiency is that the patch was submitted 12 days
late.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
The one who says it cannot be done should never interrupt the one who
is doing it.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [U-Boot] Expletives in the source code.
  2009-04-13 15:01 [U-Boot] Expletives in the source code Steve Reckamp
  2009-04-13 15:39 ` John W. Linville
  2009-04-13 16:11 ` Justin Waters
@ 2009-04-13 21:39 ` Mike Frysinger
  2009-04-13 21:54   ` Scott Wood
  2 siblings, 1 reply; 7+ messages in thread
From: Mike Frysinger @ 2009-04-13 21:39 UTC (permalink / raw)
  To: u-boot

On Monday 13 April 2009 11:01:02 Steve Reckamp wrote:
> In looking for offensive language in our source code, we came across
> several occurrences in u-boot code:

dont you have any real work to do ?  like protecting us from the internet ?
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20090413/864e0ad2/attachment.pgp 

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [U-Boot] Expletives in the source code.
  2009-04-13 21:39 ` Mike Frysinger
@ 2009-04-13 21:54   ` Scott Wood
  0 siblings, 0 replies; 7+ messages in thread
From: Scott Wood @ 2009-04-13 21:54 UTC (permalink / raw)
  To: u-boot

On Monday 13 April 2009 11:01:02 Steve Reckamp wrote:
> In looking for offensive language in our source code, we came across
> several occurrences in u-boot code:

I found some PHP under tools/bddb; some people consider that an 
offensive language.

-Scott

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2009-04-13 21:54 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-13 15:01 [U-Boot] Expletives in the source code Steve Reckamp
2009-04-13 15:39 ` John W. Linville
2009-04-13 16:11 ` Justin Waters
2009-04-13 17:52   ` Kumar Gala
2009-04-13 20:56     ` Wolfgang Denk
2009-04-13 21:39 ` Mike Frysinger
2009-04-13 21:54   ` Scott Wood

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox