All of lore.kernel.org
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [linux-next:master 4732/5057] include/linux/iomap.h:76:48: error: 'SECTOR_SHIFT' undeclared; did you mean 'S_DT_SHIFT'?
Date: Thu, 17 Oct 2019 15:44:49 +0800	[thread overview]
Message-ID: <201910171532.hDq5vuk9%lkp@intel.com> (raw)

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   3ef845da3c3b180ddd386e228ac3228d84a522d3
commit: df72b71921195015e3a8ce772a9ad79442bf0de3 [4732/5057] soundwire: intel: add missing headers for cross-compilation
config: i386-randconfig-f004-201941 (attached as .config)
compiler: gcc-7 (Debian 7.4.0-13) 7.4.0
reproduce:
        git checkout df72b71921195015e3a8ce772a9ad79442bf0de3
        # save the attached .config to linux build tree
        make ARCH=i386 

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

All errors (new ones prefixed by >>):

   In file included from drivers//soundwire/intel_init.c:12:0:
   include/linux/iomap.h: In function 'iomap_sector':
>> include/linux/iomap.h:76:48: error: 'SECTOR_SHIFT' undeclared (first use in this function); did you mean 'S_DT_SHIFT'?
     return (iomap->addr + pos - iomap->offset) >> SECTOR_SHIFT;
                                                   ^~~~~~~~~~~~
                                                   S_DT_SHIFT
   include/linux/iomap.h:76:48: note: each undeclared identifier is reported only once for each function it appears in

vim +76 include/linux/iomap.h

63899c6f8851c3 Christoph Hellwig 2018-06-19  72  
db074436f42196 Darrick J. Wong   2019-07-15  73  static inline sector_t
db074436f42196 Darrick J. Wong   2019-07-15  74  iomap_sector(struct iomap *iomap, loff_t pos)
db074436f42196 Darrick J. Wong   2019-07-15  75  {
db074436f42196 Darrick J. Wong   2019-07-15 @76  	return (iomap->addr + pos - iomap->offset) >> SECTOR_SHIFT;
db074436f42196 Darrick J. Wong   2019-07-15  77  }
db074436f42196 Darrick J. Wong   2019-07-15  78  

:::::: The code at line 76 was first introduced by commit
:::::: db074436f421967f4f30cfbb6fbc2a728f3e62b3 iomap: move the direct IO code into a separate file

:::::: TO: Darrick J. Wong <darrick.wong@oracle.com>
:::::: CC: Darrick J. Wong <darrick.wong@oracle.com>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

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

             reply	other threads:[~2019-10-17  7:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-17  7:44 kbuild test robot [this message]
2019-10-17 13:45 ` [linux-next:master 4732/5057] include/linux/iomap.h:76:48: error: 'SECTOR_SHIFT' undeclared; did you mean 'S_DT_SHIFT'? Pierre-Louis Bossart
2019-10-22  4:37   ` Vinod Koul
2019-10-22 13:02     ` Pierre-Louis Bossart

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=201910171532.hDq5vuk9%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.