mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [BK PATCH] fix floppy build
@ 2004-12-29 19:02 Jeff Garzik
  2004-12-29 19:06 ` Christoph Hellwig
  0 siblings, 1 reply; 2+ messages in thread
From: Jeff Garzik @ 2004-12-29 19:02 UTC (permalink / raw)
  To: Andrew Morton, Linus Torvalds; +Cc: Linux Kernel

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

So my patch removing #include kernel/version.h broke the modular floppy 
build... doh.  I would prefer to remove the redundancy of listing the 
kernel version each time the floppy driver is loaded.

See attached for 'bk pull' and example patch.

[-- Attachment #2: changelog.txt --]
[-- Type: text/plain, Size: 847 bytes --]

Please do a

	bk pull bk://gkernel.bkbits.net/misc-2.6

This will update the following files:

 drivers/block/floppy.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

through these ChangeSets:

<jgarzik@pobox.com> (04/12/29 1.2079)
   block/floppy.c: fix build by removing UTS_RELEASE use
   
   It's redundant to the kernel message that prints out the kernel version,
   as well as many other places where one can request the kernel version.

diff -Nru a/drivers/block/floppy.c b/drivers/block/floppy.c
--- a/drivers/block/floppy.c	2004-12-29 14:00:55 -05:00
+++ b/drivers/block/floppy.c	2004-12-29 14:00:55 -05:00
@@ -4595,7 +4595,7 @@
 
 int init_module(void)
 {
-	printk(KERN_INFO "inserting floppy driver for " UTS_RELEASE "\n");
+	printk(KERN_INFO "inserting floppy driver\n");
 
 	if (floppy)
 		parse_floppy_cfg_string(floppy);

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

* Re: [BK PATCH] fix floppy build
  2004-12-29 19:02 [BK PATCH] fix floppy build Jeff Garzik
@ 2004-12-29 19:06 ` Christoph Hellwig
  0 siblings, 0 replies; 2+ messages in thread
From: Christoph Hellwig @ 2004-12-29 19:06 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: Andrew Morton, Linus Torvalds, Linux Kernel

On Wed, Dec 29, 2004 at 02:02:12PM -0500, Jeff Garzik wrote:
> So my patch removing #include kernel/version.h broke the modular floppy 
> build... doh.  I would prefer to remove the redundancy of listing the 
> kernel version each time the floppy driver is loaded.
> 
> See attached for 'bk pull' and example patch.

> Please do a
> 
> 	bk pull bk://gkernel.bkbits.net/misc-2.6
> 
> This will update the following files:
> 
>  drivers/block/floppy.c |    2 +-
>  1 files changed, 1 insertion(+), 1 deletion(-)
> 
> through these ChangeSets:
> 
> <jgarzik@pobox.com> (04/12/29 1.2079)
>    block/floppy.c: fix build by removing UTS_RELEASE use
>    
>    It's redundant to the kernel message that prints out the kernel version,
>    as well as many other places where one can request the kernel version.
> 
> diff -Nru a/drivers/block/floppy.c b/drivers/block/floppy.c
> --- a/drivers/block/floppy.c	2004-12-29 14:00:55 -05:00
> +++ b/drivers/block/floppy.c	2004-12-29 14:00:55 -05:00
> @@ -4595,7 +4595,7 @@
>  
>  int init_module(void)
>  {
> -	printk(KERN_INFO "inserting floppy driver for " UTS_RELEASE "\n");
> +	printk(KERN_INFO "inserting floppy driver\n");

or just kill the printk completely..


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

end of thread, other threads:[~2004-12-29 19:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-29 19:02 [BK PATCH] fix floppy build Jeff Garzik
2004-12-29 19:06 ` Christoph Hellwig

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

all inboxes | Powered by JetHome®