mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-15 08:44:14 +08:00
pcmcia: rsrc_nonstatic: Fix call-back function as reference formatting
Fixes the following W=1 kernel build warning(s): drivers/pcmcia/rsrc_nonstatic.c:349: warning: Function parameter or member 'value' not described in 'do_validate_mem' drivers/pcmcia/rsrc_nonstatic.c:349: warning: Excess function parameter 'validate' description in 'do_validate_mem' drivers/pcmcia/rsrc_nonstatic.c:407: warning: Function parameter or member 'value' not described in 'do_mem_probe' drivers/pcmcia/rsrc_nonstatic.c:407: warning: Excess function parameter 'validate' description in 'do_mem_probe' drivers/pcmcia/rsrc_nonstatic.c:407: warning: Excess function parameter 'fallback' description in 'do_mem_probe' Signed-off-by: Lee Jones <lee.jones@linaro.org> [linux@dominikbrodowski.net: removed list of CCs] Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
This commit is contained in:
parent
1d26d6f2cb
commit
e9d503fef7
@ -343,7 +343,7 @@ static int checksum(struct pcmcia_socket *s, struct resource *res,
|
|||||||
*/
|
*/
|
||||||
static int do_validate_mem(struct pcmcia_socket *s,
|
static int do_validate_mem(struct pcmcia_socket *s,
|
||||||
unsigned long base, unsigned long size,
|
unsigned long base, unsigned long size,
|
||||||
int validate (struct pcmcia_socket *s,
|
int (*validate)(struct pcmcia_socket *s,
|
||||||
struct resource *res,
|
struct resource *res,
|
||||||
unsigned int *value))
|
unsigned int *value))
|
||||||
{
|
{
|
||||||
@ -398,10 +398,10 @@ static int do_validate_mem(struct pcmcia_socket *s,
|
|||||||
* function returns the size of the usable memory area.
|
* function returns the size of the usable memory area.
|
||||||
*/
|
*/
|
||||||
static int do_mem_probe(struct pcmcia_socket *s, u_long base, u_long num,
|
static int do_mem_probe(struct pcmcia_socket *s, u_long base, u_long num,
|
||||||
int validate (struct pcmcia_socket *s,
|
int (*validate)(struct pcmcia_socket *s,
|
||||||
struct resource *res,
|
struct resource *res,
|
||||||
unsigned int *value),
|
unsigned int *value),
|
||||||
int fallback (struct pcmcia_socket *s,
|
int (*fallback)(struct pcmcia_socket *s,
|
||||||
struct resource *res,
|
struct resource *res,
|
||||||
unsigned int *value))
|
unsigned int *value))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user