All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: oe-kbuild@lists.linux.dev
Cc: lkp@intel.com
Subject: Re: [PATCH] smb: client: convert DFS target node name from cache charset on mount
Date: Sun, 22 Nov 2026 21:05:06 +0800	[thread overview]
Message-ID: <202611222108.7GCO1GPZ-lkp@intel.com> (raw)

:::::: 
:::::: Manual check reason: "too many reports for this commit"
:::::: 

BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
In-Reply-To: <20261122045841.99012-1-fredric.cover.lkernel@gmail.com>
References: <20261122045841.99012-1-fredric.cover.lkernel@gmail.com>
TO: Fredric Cover <fredric.cover.lkernel@gmail.com>
TO: Paulo Alcantara <pc@manguebit.org>
TO: Namjae Jeon <linkinjeon@kernel.org>
CC: ChenXiaoSong <chenxiaosong@chenxiaosong.com>
CC: Tom Talpey <tom@talpey.com>
CC: Ronnie Sahlberg <ronniesahlberg@gmail.com>
CC: Shyam Prasad N <sprasad@microsoft.com>
CC: Bharath SM <bharathsm@microsoft.com>
CC: linux-cifs@vger.kernel.org
CC: linux-kernel@vger.kernel.org
CC: Fredric Cover <fredric.cover.lkernel@gmail.com>
CC: stable@vger.kernel.org

Hi Fredric,

kernel test robot noticed the following build errors:

[auto build test ERROR on manguebit/cifs-next]
[also build test ERROR on manguebit/cifs-fixes linus/master v7.4-rc3 next-20261120]
[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/Fredric-Cover/smb-client-convert-DFS-target-node-name-from-cache-charset-on-mount/20261122-045840
base:   https://git.manguebit.org/linux.git cifs-next
patch link:    https://lore.kernel.org/r/20261122045841.99012-1-fredric.cover.lkernel%40gmail.com
patch subject: [PATCH] smb: client: convert DFS target node name from cache charset on mount
:::::: branch date: 8 hours ago
:::::: commit date: 8 hours ago
config: x86_64-rhel-9.4 (https://download.01.org/0day-ci/archive/20261122/202611222108.7GCO1GPZ-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261122/202611222108.7GCO1GPZ-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/r/202611222108.7GCO1GPZ-lkp@intel.com/

All errors (new ones prefixed by >>):

   fs/smb/client/dfs.c: In function 'dfs_parse_target_referral':
>> fs/smb/client/dfs.c:44:21: error: implicit declaration of function 'dfs_cache_local_path'; did you mean 'dfs_cache_canonical_path'? [-Wimplicit-function-declaration]
      44 |         node_name = dfs_cache_local_path(ref->node_name, ctx->local_nls);
         |                     ^~~~~~~~~~~~~~~~~~~~
         |                     dfs_cache_canonical_path
>> fs/smb/client/dfs.c:44:19: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
      44 |         node_name = dfs_cache_local_path(ref->node_name, ctx->local_nls);
         |                   ^


vim +44 fs/smb/client/dfs.c

ad46faff1afcc8d fs/smb/client/dfs.c Paulo Alcantara 2025-01-03  13  
abdb1742a312388 fs/cifs/dfs.c       Paulo Alcantara 2022-10-04  14  /**
abdb1742a312388 fs/cifs/dfs.c       Paulo Alcantara 2022-10-04  15   * dfs_parse_target_referral - set fs context for dfs target referral
abdb1742a312388 fs/cifs/dfs.c       Paulo Alcantara 2022-10-04  16   *
abdb1742a312388 fs/cifs/dfs.c       Paulo Alcantara 2022-10-04  17   * @full_path: full path in UNC format.
abdb1742a312388 fs/cifs/dfs.c       Paulo Alcantara 2022-10-04  18   * @ref: dfs referral pointer.
abdb1742a312388 fs/cifs/dfs.c       Paulo Alcantara 2022-10-04  19   * @ctx: smb3 fs context pointer.
abdb1742a312388 fs/cifs/dfs.c       Paulo Alcantara 2022-10-04  20   *
abdb1742a312388 fs/cifs/dfs.c       Paulo Alcantara 2022-10-04  21   * Return zero if dfs referral was parsed correctly, otherwise non-zero.
abdb1742a312388 fs/cifs/dfs.c       Paulo Alcantara 2022-10-04  22   */
abdb1742a312388 fs/cifs/dfs.c       Paulo Alcantara 2022-10-04  23  int dfs_parse_target_referral(const char *full_path, const struct dfs_info3_param *ref,
abdb1742a312388 fs/cifs/dfs.c       Paulo Alcantara 2022-10-04  24  			      struct smb3_fs_context *ctx)
abdb1742a312388 fs/cifs/dfs.c       Paulo Alcantara 2022-10-04  25  {
abdb1742a312388 fs/cifs/dfs.c       Paulo Alcantara 2022-10-04  26  	int rc;
abdb1742a312388 fs/cifs/dfs.c       Paulo Alcantara 2022-10-04  27  	const char *prepath = NULL;
431f71072745dae fs/smb/client/dfs.c Fredric Cover   2026-11-22  28  	char *node_name = NULL;
abdb1742a312388 fs/cifs/dfs.c       Paulo Alcantara 2022-10-04  29  	char *path;
abdb1742a312388 fs/cifs/dfs.c       Paulo Alcantara 2022-10-04  30  
abdb1742a312388 fs/cifs/dfs.c       Paulo Alcantara 2022-10-04  31  	if (!full_path || !*full_path || !ref || !ctx)
abdb1742a312388 fs/cifs/dfs.c       Paulo Alcantara 2022-10-04  32  		return -EINVAL;
abdb1742a312388 fs/cifs/dfs.c       Paulo Alcantara 2022-10-04  33  
abdb1742a312388 fs/cifs/dfs.c       Paulo Alcantara 2022-10-04  34  	if (WARN_ON_ONCE(!ref->node_name || ref->path_consumed < 0))
abdb1742a312388 fs/cifs/dfs.c       Paulo Alcantara 2022-10-04  35  		return -EINVAL;
abdb1742a312388 fs/cifs/dfs.c       Paulo Alcantara 2022-10-04  36  
86aacc2f3f6ba18 fs/smb/client/dfs.c Fredric Cover   2026-11-07  37  	if ((size_t)ref->path_consumed < strlen(full_path)) {
abdb1742a312388 fs/cifs/dfs.c       Paulo Alcantara 2022-10-04  38  		prepath = full_path + ref->path_consumed;
abdb1742a312388 fs/cifs/dfs.c       Paulo Alcantara 2022-10-04  39  		/* skip initial delimiter */
abdb1742a312388 fs/cifs/dfs.c       Paulo Alcantara 2022-10-04  40  		if (*prepath == '/' || *prepath == '\\')
abdb1742a312388 fs/cifs/dfs.c       Paulo Alcantara 2022-10-04  41  			prepath++;
abdb1742a312388 fs/cifs/dfs.c       Paulo Alcantara 2022-10-04  42  	}
abdb1742a312388 fs/cifs/dfs.c       Paulo Alcantara 2022-10-04  43  
431f71072745dae fs/smb/client/dfs.c Fredric Cover   2026-11-22 @44  	node_name = dfs_cache_local_path(ref->node_name, ctx->local_nls);
431f71072745dae fs/smb/client/dfs.c Fredric Cover   2026-11-22  45  	if (IS_ERR(node_name))
431f71072745dae fs/smb/client/dfs.c Fredric Cover   2026-11-22  46  		return PTR_ERR(node_name);
431f71072745dae fs/smb/client/dfs.c Fredric Cover   2026-11-22  47  
431f71072745dae fs/smb/client/dfs.c Fredric Cover   2026-11-22  48  	path = cifs_build_devname(node_name, prepath);
431f71072745dae fs/smb/client/dfs.c Fredric Cover   2026-11-22  49  	kfree(node_name);
abdb1742a312388 fs/cifs/dfs.c       Paulo Alcantara 2022-10-04  50  	if (IS_ERR(path))
abdb1742a312388 fs/cifs/dfs.c       Paulo Alcantara 2022-10-04  51  		return PTR_ERR(path);
abdb1742a312388 fs/cifs/dfs.c       Paulo Alcantara 2022-10-04  52  
abdb1742a312388 fs/cifs/dfs.c       Paulo Alcantara 2022-10-04  53  	rc = smb3_parse_devname(path, ctx);
abdb1742a312388 fs/cifs/dfs.c       Paulo Alcantara 2022-10-04  54  	if (rc)
abdb1742a312388 fs/cifs/dfs.c       Paulo Alcantara 2022-10-04  55  		goto out;
abdb1742a312388 fs/cifs/dfs.c       Paulo Alcantara 2022-10-04  56  
4b1b4c8be9dee9a fs/smb/client/dfs.c Paulo Alcantara 2025-01-07  57  	rc = dns_resolve_unc(DFS_DOM(ctx), path,
4b1b4c8be9dee9a fs/smb/client/dfs.c Paulo Alcantara 2025-01-07  58  			     (struct sockaddr *)&ctx->dstaddr);
abdb1742a312388 fs/cifs/dfs.c       Paulo Alcantara 2022-10-04  59  out:
abdb1742a312388 fs/cifs/dfs.c       Paulo Alcantara 2022-10-04  60  	kfree(path);
abdb1742a312388 fs/cifs/dfs.c       Paulo Alcantara 2022-10-04  61  	return rc;
abdb1742a312388 fs/cifs/dfs.c       Paulo Alcantara 2022-10-04  62  }
a1c0d00572fca4a fs/cifs/dfs.c       Paulo Alcantara 2022-11-17  63  

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

             reply	other threads:[~2026-11-22 13:05 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-22 13:05 kernel test robot [this message]
  -- strict thread matches above, loose matches on Subject: below --
2026-11-22  4:58 [PATCH] smb: client: convert DFS target node name from cache charset on mount Fredric Cover
2026-11-22 10:54 ` kernel test robot
2026-11-22 11:07 ` kernel test robot
2026-11-22 11:50 ` kernel test robot
2026-11-22 16:24   ` Fredric Cover
2026-11-26 12:15 ` Paulo Alcantara

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=202611222108.7GCO1GPZ-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=oe-kbuild@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 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.