Hi MichaƂ,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on scsi/for-next]
[also build test ERROR on v4.14-rc8 next-20171109]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improve the system]

url:    
https://github.com/0day-ci/linux/commits/Michal-Potomski/scsi-ufs-Fix-Runtime-PM/20171110-191314
base:   https://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git for-next
config: m68k-allyesconfig (attached as .config)
compiler: m68k-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0
reproduce:
        wget 
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O 
~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=m68k 

All errors (new ones prefixed by >>):

   drivers/scsi/ufs/ufshcd.c: In function 'ufshcd_pm_runtime_get':
>> drivers/scsi/ufs/ufshcd.c:246:16: error: 'struct dev_pm_info' has no member 
>> named 'runtime_status'
     if (dev->power.runtime_status == RPM_RESUMING ||
                   ^
   drivers/scsi/ufs/ufshcd.c:247:16: error: 'struct dev_pm_info' has no member 
named 'runtime_status'
         dev->power.runtime_status == RPM_SUSPENDING)
                   ^
   drivers/scsi/ufs/ufshcd.c: In function 'ufshcd_pm_runtime_put':
   drivers/scsi/ufs/ufshcd.c:258:16: error: 'struct dev_pm_info' has no member 
named 'runtime_status'
     if (dev->power.runtime_status == RPM_RESUMING ||
                   ^
   drivers/scsi/ufs/ufshcd.c:259:16: error: 'struct dev_pm_info' has no member 
named 'runtime_status'
         dev->power.runtime_status == RPM_SUSPENDING)
                   ^

vim +246 drivers/scsi/ufs/ufshcd.c

   242  
   243  static void ufshcd_pm_runtime_get(struct device *dev)
   244  {
   245          // Don't trigger PM events while in transition states
 > 246          if (dev->power.runtime_status == RPM_RESUMING ||
   247              dev->power.runtime_status == RPM_SUSPENDING)
   248                  pm_runtime_get_noresume(dev);
   249          else
   250                  pm_runtime_get_sync(dev);
   251  }
   252  

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

Attachment: .config.gz
Description: application/gzip

Reply via email to