[PATCH] net/tipc: Fix typo 'retrun' -> 'return'

Ignacio Peña posted 1 patch 2 months, 1 week ago
net/tipc/bcast.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
[PATCH] net/tipc: Fix typo 'retrun' -> 'return'
Posted by Ignacio Peña 2 months, 1 week ago
Fix spelling mistake.

No functional change.

Signed-off-by: Ignacio Pena <ignacio.pena87@gmail.com>
---
 net/tipc/bcast.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net/tipc/bcast.c b/net/tipc/bcast.c
index 114fef65f..8481d9714 100644
--- a/net/tipc/bcast.c
+++ b/net/tipc/bcast.c
@@ -46,7 +46,7 @@
 #define BCLINK_WIN_MIN      32	/* bcast minimum link window size */
 
 const char tipc_bclink_name[] = "broadcast-link";
-unsigned long sysctl_tipc_bc_retruni __read_mostly;
+unsigned long sysctl_tipc_bc_returni __read_mostly;
 
 /**
  * struct tipc_bc_base - base structure for keeping broadcast send state
@@ -511,7 +511,7 @@ int tipc_bcast_sync_rcv(struct net *net, struct tipc_link *l,
 		tipc_link_bc_init_rcv(l, hdr);
 	} else if (!msg_bc_ack_invalid(hdr)) {
 		tipc_get_gap_ack_blks(&ga, l, hdr, false);
-		if (!sysctl_tipc_bc_retruni)
+		if (!sysctl_tipc_bc_returni)
 			retrq = &xmitq;
 		rc = tipc_link_bc_ack_rcv(l, msg_bcast_ack(hdr),
 					  msg_bc_gap(hdr), ga, &xmitq,
-- 
2.50.1
Re: [PATCH] net/tipc: Fix typo 'retrun' -> 'return'
Posted by kernel test robot 2 months, 1 week ago
Hi Ignacio,

kernel test robot noticed the following build errors:

[auto build test ERROR on linus/master]
[also build test ERROR on v6.16-rc7 next-20250725]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Ignacio-Pe-a/net-tipc-Fix-typo-retrun-return/20250727-103804
base:   linus/master
patch link:    https://lore.kernel.org/r/20250727023309.82920-1-ignacio.pena87%40gmail.com
patch subject: [PATCH] net/tipc: Fix typo 'retrun' -> 'return'
config: arm-randconfig-004-20250727 (https://download.01.org/0day-ci/archive/20250727/202507271435.9am5IiZM-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 10.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250727/202507271435.9am5IiZM-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202507271435.9am5IiZM-lkp@intel.com/

All errors (new ones prefixed by >>):

>> arm-linux-gnueabi-ld: net/tipc/sysctl.o:(.data.tipc_table+0xa4): undefined reference to `sysctl_tipc_bc_retruni'

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki