oe-kbuild-all.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Joel Granados <j.granados@samsung.com>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [joel-granados:jag/sysctl_remset_net 5/5] net/ax25/ax25_dev.c:81:26: error: 'AX25_VALUES_DS_TIMEOUT' undeclared; did you mean 'AX25_DEF_DS_TIMEOUT'?
Date: Thu, 4 Apr 2024 03:50:35 +0800	[thread overview]
Message-ID: <202404040301.qzKmVQGB-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/joel.granados/linux.git jag/sysctl_remset_net
head:   3b6720e41a3ccc4b0ddea1721cea468dc17fb5d7
commit: 3b6720e41a3ccc4b0ddea1721cea468dc17fb5d7 [5/5] ax.25: Remove the now superfluous sentinel elements from ctl_table array
config: i386-buildonly-randconfig-001-20240404 (https://download.01.org/0day-ci/archive/20240404/202404040301.qzKmVQGB-lkp@intel.com/config)
compiler: gcc-13 (Ubuntu 13.2.0-4ubuntu3) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240404/202404040301.qzKmVQGB-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/202404040301.qzKmVQGB-lkp@intel.com/

All errors (new ones prefixed by >>):

   net/ax25/ax25_dev.c: In function 'ax25_dev_device_up':
>> net/ax25/ax25_dev.c:81:26: error: 'AX25_VALUES_DS_TIMEOUT' undeclared (first use in this function); did you mean 'AX25_DEF_DS_TIMEOUT'?
      81 |         ax25_dev->values[AX25_VALUES_DS_TIMEOUT]= AX25_DEF_DS_TIMEOUT;
         |                          ^~~~~~~~~~~~~~~~~~~~~~
         |                          AX25_DEF_DS_TIMEOUT
   net/ax25/ax25_dev.c:81:26: note: each undeclared identifier is reported only once for each function it appears in


vim +81 net/ax25/ax25_dev.c

^1da177e4c3f41 Linus Torvalds   2005-04-16  46  
^1da177e4c3f41 Linus Torvalds   2005-04-16  47  /*
^1da177e4c3f41 Linus Torvalds   2005-04-16  48   *	This is called when an interface is brought up. These are
^1da177e4c3f41 Linus Torvalds   2005-04-16  49   *	reasonable defaults.
^1da177e4c3f41 Linus Torvalds   2005-04-16  50   */
^1da177e4c3f41 Linus Torvalds   2005-04-16  51  void ax25_dev_device_up(struct net_device *dev)
^1da177e4c3f41 Linus Torvalds   2005-04-16  52  {
^1da177e4c3f41 Linus Torvalds   2005-04-16  53  	ax25_dev *ax25_dev;
^1da177e4c3f41 Linus Torvalds   2005-04-16  54  
f0623340fd2cab Peter Lafreniere 2022-06-16  55  	ax25_dev = kzalloc(sizeof(*ax25_dev), GFP_KERNEL);
f0623340fd2cab Peter Lafreniere 2022-06-16  56  	if (!ax25_dev) {
^1da177e4c3f41 Linus Torvalds   2005-04-16  57  		printk(KERN_ERR "AX.25: ax25_dev_device_up - out of memory\n");
^1da177e4c3f41 Linus Torvalds   2005-04-16  58  		return;
^1da177e4c3f41 Linus Torvalds   2005-04-16  59  	}
^1da177e4c3f41 Linus Torvalds   2005-04-16  60  
d01ffb9eee4af1 Duoming Zhou     2022-01-28  61  	refcount_set(&ax25_dev->refcount, 1);
^1da177e4c3f41 Linus Torvalds   2005-04-16  62  	dev->ax25_ptr     = ax25_dev;
^1da177e4c3f41 Linus Torvalds   2005-04-16  63  	ax25_dev->dev     = dev;
f0623340fd2cab Peter Lafreniere 2022-06-16  64  	netdev_hold(dev, &ax25_dev->dev_tracker, GFP_KERNEL);
^1da177e4c3f41 Linus Torvalds   2005-04-16  65  	ax25_dev->forward = NULL;
7d8a3a477b3e25 Duoming Zhou     2022-05-30  66  	ax25_dev->device_up = true;
^1da177e4c3f41 Linus Torvalds   2005-04-16  67  
^1da177e4c3f41 Linus Torvalds   2005-04-16  68  	ax25_dev->values[AX25_VALUES_IPDEFMODE] = AX25_DEF_IPDEFMODE;
^1da177e4c3f41 Linus Torvalds   2005-04-16  69  	ax25_dev->values[AX25_VALUES_AXDEFMODE] = AX25_DEF_AXDEFMODE;
^1da177e4c3f41 Linus Torvalds   2005-04-16  70  	ax25_dev->values[AX25_VALUES_BACKOFF]   = AX25_DEF_BACKOFF;
^1da177e4c3f41 Linus Torvalds   2005-04-16  71  	ax25_dev->values[AX25_VALUES_CONMODE]   = AX25_DEF_CONMODE;
^1da177e4c3f41 Linus Torvalds   2005-04-16  72  	ax25_dev->values[AX25_VALUES_WINDOW]    = AX25_DEF_WINDOW;
^1da177e4c3f41 Linus Torvalds   2005-04-16  73  	ax25_dev->values[AX25_VALUES_EWINDOW]   = AX25_DEF_EWINDOW;
^1da177e4c3f41 Linus Torvalds   2005-04-16  74  	ax25_dev->values[AX25_VALUES_T1]        = AX25_DEF_T1;
^1da177e4c3f41 Linus Torvalds   2005-04-16  75  	ax25_dev->values[AX25_VALUES_T2]        = AX25_DEF_T2;
^1da177e4c3f41 Linus Torvalds   2005-04-16  76  	ax25_dev->values[AX25_VALUES_T3]        = AX25_DEF_T3;
^1da177e4c3f41 Linus Torvalds   2005-04-16  77  	ax25_dev->values[AX25_VALUES_IDLE]	= AX25_DEF_IDLE;
^1da177e4c3f41 Linus Torvalds   2005-04-16  78  	ax25_dev->values[AX25_VALUES_N2]        = AX25_DEF_N2;
^1da177e4c3f41 Linus Torvalds   2005-04-16  79  	ax25_dev->values[AX25_VALUES_PACLEN]	= AX25_DEF_PACLEN;
^1da177e4c3f41 Linus Torvalds   2005-04-16  80  	ax25_dev->values[AX25_VALUES_PROTOCOL]  = AX25_DEF_PROTOCOL;
^1da177e4c3f41 Linus Torvalds   2005-04-16 @81  	ax25_dev->values[AX25_VALUES_DS_TIMEOUT]= AX25_DEF_DS_TIMEOUT;
^1da177e4c3f41 Linus Torvalds   2005-04-16  82  

:::::: The code at line 81 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2

:::::: TO: Linus Torvalds <torvalds@ppc970.osdl.org>
:::::: CC: Linus Torvalds <torvalds@ppc970.osdl.org>

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

                 reply	other threads:[~2024-04-03 19:51 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202404040301.qzKmVQGB-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=j.granados@samsung.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).