All of lore.kernel.org
 help / color / mirror / Atom feed
* [KJ] [PATCH 0/15] decrapify FlashPoint
@ 2005-07-06 23:20 Alexey Dobriyan
  2005-07-08 17:29 ` randy_dunlap
  0 siblings, 1 reply; 2+ messages in thread
From: Alexey Dobriyan @ 2005-07-06 23:20 UTC (permalink / raw)
  To: kernel-janitors

[-- Attachment #1: Type: text/plain, Size: 812 bytes --]

Don't pay attention to whatever whitespace left/added on the way. Lindent will
take care of it.

1) Mostly remove unused #defines.
2) Remove wrappers.

3-7) Switch to sane types.
8-13) Remove useless typedefs.

	Splitted for your reviewing pleasure.

14) Lindent the sucker.
15) return (*); => return *;

Compile tested with CONFIG_SCSI_OMIT_FLASHPOINT=y and =n.

If somebody will find useful the following script used in preparation of the
series, I'll be glad.
============================================================================
$ cat prepare
#!/bin/sh

PATCH="$1"
TEMP=${PATCH}_
echo "[PATCH] " >$TEMP
echo "" >>$TEMP
echo "Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>" >>$TEMP
echo "---" >>$TEMP
echo "" >>$TEMP
diffstat -p1 $PATCH >>$TEMP
echo "" >>$TEMP
cat $PATCH >>$TEMP
mv $TEMP $PATCH

[-- Attachment #2: Type: text/plain, Size: 168 bytes --]

_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
https://lists.osdl.org/mailman/listinfo/kernel-janitors

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

* Re: [KJ] [PATCH 0/15] decrapify FlashPoint
  2005-07-06 23:20 [KJ] [PATCH 0/15] decrapify FlashPoint Alexey Dobriyan
@ 2005-07-08 17:29 ` randy_dunlap
  0 siblings, 0 replies; 2+ messages in thread
From: randy_dunlap @ 2005-07-08 17:29 UTC (permalink / raw)
  To: kernel-janitors

[-- Attachment #1: Type: text/plain, Size: 1341 bytes --]

On Thu, 7 Jul 2005 03:20:14 +0400 Alexey Dobriyan wrote:

| Don't pay attention to whatever whitespace left/added on the way. Lindent will
| take care of it.
| 
| 1) Mostly remove unused #defines.
| 2) Remove wrappers.
| 
| 3-7) Switch to sane types.
| 8-13) Remove useless typedefs.
| 
| 	Splitted for your reviewing pleasure.

Looks sane to me.

| 14) Lindent the sucker.
| 15) return (*); => return *;
| 
| Compile tested with CONFIG_SCSI_OMIT_FLASHPOINT=y and =n.

Good job.  Some people forget to do things like that.  :)

| If somebody will find useful the following script used in preparation of the
| series, I'll be glad.

Thanks.

| ============================================================================
| $ cat prepare
| #!/bin/sh
| 
| PATCH="$1"
| TEMP=${PATCH}_
| echo "[PATCH] " >$TEMP
| echo "" >>$TEMP
| echo "Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>" >>$TEMP
| echo "---" >>$TEMP
| echo "" >>$TEMP
| diffstat -p1 $PATCH >>$TEMP
| echo "" >>$TEMP
| cat $PATCH >>$TEMP
| mv $TEMP $PATCH

Reference for others:  Linus wrote an email about the canonical
patch format.  It's here:
http://marc.theaimsgroup.com/?l=linux-kernel&m=111289556807316&w=2

Alexey's prepare script is similar to what I use, genpatch,
which is contained in
  http://www.xenotime.net/linux/scripts/patching-scripts-003.tar.gz

---
~Randy

[-- Attachment #2: Type: text/plain, Size: 168 bytes --]

_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
https://lists.osdl.org/mailman/listinfo/kernel-janitors

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

end of thread, other threads:[~2005-07-08 17:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-06 23:20 [KJ] [PATCH 0/15] decrapify FlashPoint Alexey Dobriyan
2005-07-08 17:29 ` randy_dunlap

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.