lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <48015CC8.4000004@isomerica.net>
Date:	Sat, 12 Apr 2008 21:07:20 -0400
From:	Dan Noe <dpn@...merica.net>
To:	devzero@....de
CC:	netdev@...r.kernel.org
Subject: Re: arcnet - weird printk arc%d

devzero@....de wrote:
> Apr 13 01:25:50 neo klogd:  arc%d: Given: node 00h, shmem 0h, irq 0
> Apr 13 01:25:50 neo klogd:  arc%d: No autoprobe for RIM I; you must specify the shmem and irq!
> Apr 13 01:25:50 neo klogd:  arc%d: No autoprobe for IO mapped cards; you must specify the base address!
> 
> arc%d looks weird - is this intenitonal ?

The %d is normally replaced by the interface number after 
register_netdev is called.  But these error messages are printed in 
arcrimi_found() *before* register_netdev() is called (because the device 
hasn't been found yet).

I'm not sure what the best approach to fixing this is.  Most likely the 
log printouts at that point should not be using the macros that rely on 
dev->name being fully correct.

Cheers,
Dan

-- 
                     /--------------- - -  -  -   -   -
                     |  Dan Noe
                     |  http://isomerica.net/~dpn/
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ