mirror of
				https://github.com/torvalds/linux.git
				synced 2025-10-31 16:48:26 +02:00 
			
		
		
		
	net: fill in MODULE_DESCRIPTION()s for ATM
W=1 builds now warn if module is built without a MODULE_DESCRIPTION(). Add descriptions to all the ATM modules and drivers. Link: https://lore.kernel.org/r/20240104143737.1317945-1-kuba@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
		
							parent
							
								
									aa537fee61
								
							
						
					
					
						commit
						fc0caed81b
					
				
					 8 changed files with 8 additions and 0 deletions
				
			
		|  | @ -494,6 +494,7 @@ static void __exit atmtcp_exit(void) | ||||||
| 	deregister_atm_ioctl(&atmtcp_ioctl_ops); | 	deregister_atm_ioctl(&atmtcp_ioctl_ops); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | MODULE_DESCRIPTION("ATM over TCP"); | ||||||
| MODULE_LICENSE("GPL"); | MODULE_LICENSE("GPL"); | ||||||
| module_init(atmtcp_init); | module_init(atmtcp_init); | ||||||
| module_exit(atmtcp_exit); | module_exit(atmtcp_exit); | ||||||
|  |  | ||||||
|  | @ -2318,4 +2318,5 @@ static int __init eni_init(void) | ||||||
| module_init(eni_init); | module_init(eni_init); | ||||||
| /* @@@ since exit routine not defined, this module can not be unloaded */ | /* @@@ since exit routine not defined, this module can not be unloaded */ | ||||||
| 
 | 
 | ||||||
|  | MODULE_DESCRIPTION("Efficient Networks ENI155P ATM NIC driver"); | ||||||
| MODULE_LICENSE("GPL"); | MODULE_LICENSE("GPL"); | ||||||
|  |  | ||||||
|  | @ -372,4 +372,5 @@ static void __exit idt77105_exit(void) | ||||||
| 
 | 
 | ||||||
| module_exit(idt77105_exit); | module_exit(idt77105_exit); | ||||||
| 
 | 
 | ||||||
|  | MODULE_DESCRIPTION("IDT77105 PHY driver"); | ||||||
| MODULE_LICENSE("GPL"); | MODULE_LICENSE("GPL"); | ||||||
|  |  | ||||||
|  | @ -90,6 +90,7 @@ module_param(IA_RX_BUF, int, 0); | ||||||
| module_param(IA_RX_BUF_SZ, int, 0); | module_param(IA_RX_BUF_SZ, int, 0); | ||||||
| module_param(IADebugFlag, uint, 0644); | module_param(IADebugFlag, uint, 0644); | ||||||
| 
 | 
 | ||||||
|  | MODULE_DESCRIPTION("Driver for Interphase ATM PCI NICs"); | ||||||
| MODULE_LICENSE("GPL"); | MODULE_LICENSE("GPL"); | ||||||
| 
 | 
 | ||||||
| /**************************** IA_LIB **********************************/ | /**************************** IA_LIB **********************************/ | ||||||
|  |  | ||||||
|  | @ -171,6 +171,7 @@ static const struct atmdev_ops atm_ops = { | ||||||
| static struct timer_list ns_timer; | static struct timer_list ns_timer; | ||||||
| static char *mac[NS_MAX_CARDS]; | static char *mac[NS_MAX_CARDS]; | ||||||
| module_param_array(mac, charp, NULL, 0); | module_param_array(mac, charp, NULL, 0); | ||||||
|  | MODULE_DESCRIPTION("ATM NIC driver for IDT 77201/77211 \"NICStAR\" and Fore ForeRunnerLE."); | ||||||
| MODULE_LICENSE("GPL"); | MODULE_LICENSE("GPL"); | ||||||
| 
 | 
 | ||||||
| /* Functions */ | /* Functions */ | ||||||
|  |  | ||||||
|  | @ -387,4 +387,5 @@ int suni_init(struct atm_dev *dev) | ||||||
| 
 | 
 | ||||||
| EXPORT_SYMBOL(suni_init); | EXPORT_SYMBOL(suni_init); | ||||||
| 
 | 
 | ||||||
|  | MODULE_DESCRIPTION("S/UNI PHY driver"); | ||||||
| MODULE_LICENSE("GPL"); | MODULE_LICENSE("GPL"); | ||||||
|  |  | ||||||
|  | @ -890,6 +890,7 @@ subsys_initcall(atm_init); | ||||||
| 
 | 
 | ||||||
| module_exit(atm_exit); | module_exit(atm_exit); | ||||||
| 
 | 
 | ||||||
|  | MODULE_DESCRIPTION("Asynchronous Transfer Mode (ATM) networking core"); | ||||||
| MODULE_LICENSE("GPL"); | MODULE_LICENSE("GPL"); | ||||||
| MODULE_ALIAS_NETPROTO(PF_ATMPVC); | MODULE_ALIAS_NETPROTO(PF_ATMPVC); | ||||||
| MODULE_ALIAS_NETPROTO(PF_ATMSVC); | MODULE_ALIAS_NETPROTO(PF_ATMSVC); | ||||||
|  |  | ||||||
|  | @ -2234,4 +2234,5 @@ lec_arp_check_empties(struct lec_priv *priv, | ||||||
| 	spin_unlock_irqrestore(&priv->lec_arp_lock, flags); | 	spin_unlock_irqrestore(&priv->lec_arp_lock, flags); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | MODULE_DESCRIPTION("ATM LAN Emulation (LANE) support"); | ||||||
| MODULE_LICENSE("GPL"); | MODULE_LICENSE("GPL"); | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue
	
	 Jakub Kicinski
						Jakub Kicinski