Skip to content

Commit 46dd607

Browse files
rddunlapRussell King (Oracle)
authored andcommitted
ARM: 9296/1: HP Jornada 7XX: fix kernel-doc warnings
Fix kernel-doc warnings from the kernel test robot: jornada720_ssp.c:24: warning: Function parameter or member 'jornada_ssp_lock' not described in 'DEFINE_SPINLOCK' jornada720_ssp.c:24: warning: expecting prototype for arch/arm/mac(). Prototype was for DEFINE_SPINLOCK() instead jornada720_ssp.c:34: warning: Function parameter or member 'byte' not described in 'jornada_ssp_reverse' jornada720_ssp.c:57: warning: Function parameter or member 'byte' not described in 'jornada_ssp_byte' jornada720_ssp.c:85: warning: Function parameter or member 'byte' not described in 'jornada_ssp_inout' Link: lore.kernel.org/r/202304210535.tWby3jWF-lkp@intel.com Fixes: 69ebb22 ("[ARM] 4506/1: HP Jornada 7XX: Addition of SSP Platform Driver") Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Reported-by: kernel test robot <lkp@intel.com> Cc: Arnd Bergmann <arnd@arndb.de> Cc: Kristoffer Ericson <Kristoffer.ericson@gmail.com> Cc: patches@armlinux.org.uk Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
1 parent fa3eeb6 commit 46dd607

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

arch/arm/mach-sa1100/jornada720_ssp.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: GPL-2.0-only
2-
/**
2+
/*
33
* arch/arm/mac-sa1100/jornada720_ssp.c
44
*
55
* Copyright (C) 2006/2007 Kristoffer Ericson <Kristoffer.Ericson@gmail.com>
@@ -26,6 +26,7 @@ static unsigned long jornada_ssp_flags;
2626

2727
/**
2828
* jornada_ssp_reverse - reverses input byte
29+
* @byte: input byte to reverse
2930
*
3031
* we need to reverse all data we receive from the mcu due to its physical location
3132
* returns : 01110111 -> 11101110
@@ -46,6 +47,7 @@ EXPORT_SYMBOL(jornada_ssp_reverse);
4647

4748
/**
4849
* jornada_ssp_byte - waits for ready ssp bus and sends byte
50+
* @byte: input byte to transmit
4951
*
5052
* waits for fifo buffer to clear and then transmits, if it doesn't then we will
5153
* timeout after <timeout> rounds. Needs mcu running before its called.
@@ -77,6 +79,7 @@ EXPORT_SYMBOL(jornada_ssp_byte);
7779

7880
/**
7981
* jornada_ssp_inout - decide if input is command or trading byte
82+
* @byte: input byte to send (may be %TXDUMMY)
8083
*
8184
* returns : (jornada_ssp_byte(byte)) on success
8285
* : %-ETIMEDOUT on timeout failure

0 commit comments

Comments
 (0)