Skip to content

Commit a849881

Browse files
Wang JinchaoKAGA-KOKO
Wang Jinchao
authored andcommitted
time: Remove '%' from numeric constant in kernel-doc comment
Change %0 to 0 in kernel-doc comments. %0 is not valid. Signed-off-by: Wang Jinchao <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Link: https://lore.kernel.org/all/[email protected]
1 parent bafffd5 commit a849881

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

kernel/time/time.c

+8-8
Original file line numberDiff line numberDiff line change
@@ -866,7 +866,7 @@ struct timespec64 timespec64_add_safe(const struct timespec64 lhs,
866866
*
867867
* Handles compat or 32-bit modes.
868868
*
869-
* Return: %0 on success or negative errno on error
869+
* Return: 0 on success or negative errno on error
870870
*/
871871
int get_timespec64(struct timespec64 *ts,
872872
const struct __kernel_timespec __user *uts)
@@ -897,7 +897,7 @@ EXPORT_SYMBOL_GPL(get_timespec64);
897897
* @ts: input &struct timespec64
898898
* @uts: user's &struct __kernel_timespec
899899
*
900-
* Return: %0 on success or negative errno on error
900+
* Return: 0 on success or negative errno on error
901901
*/
902902
int put_timespec64(const struct timespec64 *ts,
903903
struct __kernel_timespec __user *uts)
@@ -944,7 +944,7 @@ static int __put_old_timespec32(const struct timespec64 *ts64,
944944
*
945945
* Handles X86_X32_ABI compatibility conversion.
946946
*
947-
* Return: %0 on success or negative errno on error
947+
* Return: 0 on success or negative errno on error
948948
*/
949949
int get_old_timespec32(struct timespec64 *ts, const void __user *uts)
950950
{
@@ -963,7 +963,7 @@ EXPORT_SYMBOL_GPL(get_old_timespec32);
963963
*
964964
* Handles X86_X32_ABI compatibility conversion.
965965
*
966-
* Return: %0 on success or negative errno on error
966+
* Return: 0 on success or negative errno on error
967967
*/
968968
int put_old_timespec32(const struct timespec64 *ts, void __user *uts)
969969
{
@@ -979,7 +979,7 @@ EXPORT_SYMBOL_GPL(put_old_timespec32);
979979
* @it: destination &struct itimerspec64
980980
* @uit: user's &struct __kernel_itimerspec
981981
*
982-
* Return: %0 on success or negative errno on error
982+
* Return: 0 on success or negative errno on error
983983
*/
984984
int get_itimerspec64(struct itimerspec64 *it,
985985
const struct __kernel_itimerspec __user *uit)
@@ -1002,7 +1002,7 @@ EXPORT_SYMBOL_GPL(get_itimerspec64);
10021002
* @it: input &struct itimerspec64
10031003
* @uit: user's &struct __kernel_itimerspec
10041004
*
1005-
* Return: %0 on success or negative errno on error
1005+
* Return: 0 on success or negative errno on error
10061006
*/
10071007
int put_itimerspec64(const struct itimerspec64 *it,
10081008
struct __kernel_itimerspec __user *uit)
@@ -1024,7 +1024,7 @@ EXPORT_SYMBOL_GPL(put_itimerspec64);
10241024
* @its: destination &struct itimerspec64
10251025
* @uits: user's &struct old_itimerspec32
10261026
*
1027-
* Return: %0 on success or negative errno on error
1027+
* Return: 0 on success or negative errno on error
10281028
*/
10291029
int get_old_itimerspec32(struct itimerspec64 *its,
10301030
const struct old_itimerspec32 __user *uits)
@@ -1043,7 +1043,7 @@ EXPORT_SYMBOL_GPL(get_old_itimerspec32);
10431043
* @its: input &struct itimerspec64
10441044
* @uits: user's &struct old_itimerspec32
10451045
*
1046-
* Return: %0 on success or negative errno on error
1046+
* Return: 0 on success or negative errno on error
10471047
*/
10481048
int put_old_itimerspec32(const struct itimerspec64 *its,
10491049
struct old_itimerspec32 __user *uits)

0 commit comments

Comments
 (0)