All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH] tty: n_gsm: delete DISC command frame as requester
Date: Thu, 01 Jul 2021 19:00:36 +0800	[thread overview]
Message-ID: <202107011820.vVOsQ7AY-lkp@intel.com> (raw)
In-Reply-To: <1625108675-16706-1-git-send-email-zhenguo6858@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2913 bytes --]

Hi Zhenguo,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on tty/tty-testing]
[also build test ERROR on v5.13 next-20210701]
[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]

url:    https://github.com/0day-ci/linux/commits/Zhenguo-Zhao/tty-n_gsm-delete-DISC-command-frame-as-requester/20210701-110614
base:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git tty-testing
config: x86_64-randconfig-a015-20210630 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project e7e71e9454ed76c1b3d8140170b5333c28bef1be)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install x86_64 cross compiling tool for clang build
        # apt-get install binutils-x86-64-linux-gnu
        # https://github.com/0day-ci/linux/commit/0ac8d1e74492d1765c356f163a7b793a74155fc6
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Zhenguo-Zhao/tty-n_gsm-delete-DISC-command-frame-as-requester/20210701-110614
        git checkout 0ac8d1e74492d1765c356f163a7b793a74155fc6
        # save the attached .config to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross O=build_dir ARCH=x86_64 SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

>> drivers/tty/n_gsm.c:3031:6: error: use of undeclared identifier 'gsm'
           if (gsm->initiator)
               ^
   drivers/tty/n_gsm.c:3046:6: error: use of undeclared identifier 'gsm'
           if (gsm->initiator)
               ^
   2 errors generated.


vim +/gsm +3031 drivers/tty/n_gsm.c

  3017	
  3018	static void gsmtty_close(struct tty_struct *tty, struct file *filp)
  3019	{
  3020		struct gsm_dlci *dlci = tty->driver_data;
  3021	
  3022		if (dlci == NULL)
  3023			return;
  3024		if (dlci->state == DLCI_CLOSED)
  3025			return;
  3026		mutex_lock(&dlci->mutex);
  3027		gsm_destroy_network(dlci);
  3028		mutex_unlock(&dlci->mutex);
  3029		if (tty_port_close_start(&dlci->port, tty, filp) == 0)
  3030			return;
> 3031		if (gsm->initiator)
  3032			gsm_dlci_begin_close(dlci);
  3033		if (tty_port_initialized(&dlci->port) && C_HUPCL(tty))
  3034			tty_port_lower_dtr_rts(&dlci->port);
  3035		tty_port_close_end(&dlci->port, tty);
  3036		tty_port_tty_set(&dlci->port, NULL);
  3037		return;
  3038	}
  3039	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 45882 bytes --]

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: Zhenguo Zhao <zhenguo6858@gmail.com>,
	gregkh@linuxfoundation.org, jirislaby@kernel.org
Cc: clang-built-linux@googlegroups.com, kbuild-all@lists.01.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] tty: n_gsm: delete DISC command frame as requester
Date: Thu, 1 Jul 2021 19:00:36 +0800	[thread overview]
Message-ID: <202107011820.vVOsQ7AY-lkp@intel.com> (raw)
In-Reply-To: <1625108675-16706-1-git-send-email-zhenguo6858@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2841 bytes --]

Hi Zhenguo,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on tty/tty-testing]
[also build test ERROR on v5.13 next-20210701]
[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]

url:    https://github.com/0day-ci/linux/commits/Zhenguo-Zhao/tty-n_gsm-delete-DISC-command-frame-as-requester/20210701-110614
base:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git tty-testing
config: x86_64-randconfig-a015-20210630 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project e7e71e9454ed76c1b3d8140170b5333c28bef1be)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install x86_64 cross compiling tool for clang build
        # apt-get install binutils-x86-64-linux-gnu
        # https://github.com/0day-ci/linux/commit/0ac8d1e74492d1765c356f163a7b793a74155fc6
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Zhenguo-Zhao/tty-n_gsm-delete-DISC-command-frame-as-requester/20210701-110614
        git checkout 0ac8d1e74492d1765c356f163a7b793a74155fc6
        # save the attached .config to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross O=build_dir ARCH=x86_64 SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

>> drivers/tty/n_gsm.c:3031:6: error: use of undeclared identifier 'gsm'
           if (gsm->initiator)
               ^
   drivers/tty/n_gsm.c:3046:6: error: use of undeclared identifier 'gsm'
           if (gsm->initiator)
               ^
   2 errors generated.


vim +/gsm +3031 drivers/tty/n_gsm.c

  3017	
  3018	static void gsmtty_close(struct tty_struct *tty, struct file *filp)
  3019	{
  3020		struct gsm_dlci *dlci = tty->driver_data;
  3021	
  3022		if (dlci == NULL)
  3023			return;
  3024		if (dlci->state == DLCI_CLOSED)
  3025			return;
  3026		mutex_lock(&dlci->mutex);
  3027		gsm_destroy_network(dlci);
  3028		mutex_unlock(&dlci->mutex);
  3029		if (tty_port_close_start(&dlci->port, tty, filp) == 0)
  3030			return;
> 3031		if (gsm->initiator)
  3032			gsm_dlci_begin_close(dlci);
  3033		if (tty_port_initialized(&dlci->port) && C_HUPCL(tty))
  3034			tty_port_lower_dtr_rts(&dlci->port);
  3035		tty_port_close_end(&dlci->port, tty);
  3036		tty_port_tty_set(&dlci->port, NULL);
  3037		return;
  3038	}
  3039	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 45882 bytes --]

  reply	other threads:[~2021-07-01 11:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-01  3:04 [PATCH] tty: n_gsm: delete DISC command frame as requester Zhenguo Zhao
2021-07-01 11:00 ` kernel test robot [this message]
2021-07-01 11:00   ` kernel test robot

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=202107011820.vVOsQ7AY-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.