Skip to content

Commit 1d26d6f

Browse files
Lee JonesDominik Brodowski
authored andcommitted
pcmcia: pcmcia_resource: Fix some kernel-doc formatting/disparities and demote others
Fixes the following W=1 kernel build warning(s): drivers/pcmcia/pcmcia_resource.c:160: warning: Function parameter or member 'p_dev' not described in 'pcmcia_access_config' drivers/pcmcia/pcmcia_resource.c:160: warning: Function parameter or member 'where' not described in 'pcmcia_access_config' drivers/pcmcia/pcmcia_resource.c:160: warning: Function parameter or member 'val' not described in 'pcmcia_access_config' drivers/pcmcia/pcmcia_resource.c:160: warning: Function parameter or member 'accessf' not described in 'pcmcia_access_config' drivers/pcmcia/pcmcia_resource.c:194: warning: Function parameter or member 'p_dev' not described in 'pcmcia_read_config_byte' drivers/pcmcia/pcmcia_resource.c:194: warning: Function parameter or member 'where' not described in 'pcmcia_read_config_byte' drivers/pcmcia/pcmcia_resource.c:194: warning: Function parameter or member 'val' not described in 'pcmcia_read_config_byte' drivers/pcmcia/pcmcia_resource.c:207: warning: Function parameter or member 'p_dev' not described in 'pcmcia_write_config_byte' drivers/pcmcia/pcmcia_resource.c:207: warning: Function parameter or member 'where' not described in 'pcmcia_write_config_byte' drivers/pcmcia/pcmcia_resource.c:207: warning: Function parameter or member 'val' not described in 'pcmcia_write_config_byte' drivers/pcmcia/pcmcia_resource.c:728: warning: Function parameter or member 'p_dev' not described in 'pcmcia_setup_isa_irq' drivers/pcmcia/pcmcia_resource.c:728: warning: Function parameter or member 'type' not described in 'pcmcia_setup_isa_irq' drivers/pcmcia/pcmcia_resource.c:793: warning: Function parameter or member 'p_dev' not described in 'pcmcia_setup_irq' Signed-off-by: Lee Jones <[email protected]> [[email protected]: removed list of CCs] Signed-off-by: Dominik Brodowski <[email protected]>
1 parent 6562e2c commit 1d26d6f

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

drivers/pcmcia/pcmcia_resource.c

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ static int alloc_io_space(struct pcmcia_socket *s, struct resource *res,
144144
}
145145

146146

147-
/**
147+
/*
148148
* pcmcia_access_config() - read or write card configuration registers
149149
*
150150
* pcmcia_access_config() reads and writes configuration registers in
@@ -184,7 +184,7 @@ static int pcmcia_access_config(struct pcmcia_device *p_dev,
184184
}
185185

186186

187-
/**
187+
/*
188188
* pcmcia_read_config_byte() - read a byte from a card configuration register
189189
*
190190
* pcmcia_read_config_byte() reads a byte from a configuration register in
@@ -197,7 +197,7 @@ int pcmcia_read_config_byte(struct pcmcia_device *p_dev, off_t where, u8 *val)
197197
EXPORT_SYMBOL(pcmcia_read_config_byte);
198198

199199

200-
/**
200+
/*
201201
* pcmcia_write_config_byte() - write a byte to a card configuration register
202202
*
203203
* pcmcia_write_config_byte() writes a byte to a configuration register in
@@ -720,7 +720,8 @@ static irqreturn_t test_action(int cpl, void *dev_id)
720720

721721
/**
722722
* pcmcia_setup_isa_irq() - determine whether an ISA IRQ can be used
723-
* @p_dev - the associated PCMCIA device
723+
* @p_dev: the associated PCMCIA device
724+
* @type: IRQ type (flags)
724725
*
725726
* locking note: must be called with ops_mutex locked.
726727
*/
@@ -785,7 +786,7 @@ void pcmcia_cleanup_irq(struct pcmcia_socket *s)
785786

786787
/**
787788
* pcmcia_setup_irq() - determine IRQ to be used for device
788-
* @p_dev - the associated PCMCIA device
789+
* @p_dev: the associated PCMCIA device
789790
*
790791
* locking note: must be called with ops_mutex locked.
791792
*/

0 commit comments

Comments
 (0)