CC: kbuild-...@lists.01.org
CC: linux-s...@vger.kernel.org
TO: Suganath Prabu S <suganath-prabu.subram...@broadcom.com>
CC: "Martin K. Petersen" <martin.peter...@oracle.com>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git misc
head:   be1b500212541a70006887bae558ff834d7365d0
commit: aec93e8e238512689885c20c1af6e67747850341 [273/279] scsi: mpt3sas: Add 
persistent trigger pages support
:::::: branch date: 4 days ago
:::::: commit date: 4 days ago
config: x86_64-randconfig-m001-20201213 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <l...@intel.com>
Reported-by: Dan Carpenter <dan.carpen...@oracle.com>

smatch warnings:
drivers/scsi/mpt3sas/mpt3sas_base.c:4847 _base_get_diag_triggers() warn: 
impossible condition '(trigger_flags < 0) => (0-u16max < 0)'

vim +4847 drivers/scsi/mpt3sas/mpt3sas_base.c

aec93e8e2385126 Suganath Prabu S 2020-11-26  4828  
aec93e8e2385126 Suganath Prabu S 2020-11-26  4829  /**
aec93e8e2385126 Suganath Prabu S 2020-11-26  4830   * _base_get_diag_triggers - 
Retrieve diag trigger values from
aec93e8e2385126 Suganath Prabu S 2020-11-26  4831   *                           
persistent pages.
aec93e8e2385126 Suganath Prabu S 2020-11-26  4832   * @ioc : per adapter object
aec93e8e2385126 Suganath Prabu S 2020-11-26  4833   *
aec93e8e2385126 Suganath Prabu S 2020-11-26  4834   * Return nothing.
aec93e8e2385126 Suganath Prabu S 2020-11-26  4835   */
aec93e8e2385126 Suganath Prabu S 2020-11-26  4836  static void
aec93e8e2385126 Suganath Prabu S 2020-11-26  4837  
_base_get_diag_triggers(struct MPT3SAS_ADAPTER *ioc)
aec93e8e2385126 Suganath Prabu S 2020-11-26  4838  {
aec93e8e2385126 Suganath Prabu S 2020-11-26  4839       u16 trigger_flags;
aec93e8e2385126 Suganath Prabu S 2020-11-26  4840  
aec93e8e2385126 Suganath Prabu S 2020-11-26  4841       /*
aec93e8e2385126 Suganath Prabu S 2020-11-26  4842        * Default setting of 
master trigger.
aec93e8e2385126 Suganath Prabu S 2020-11-26  4843        */
aec93e8e2385126 Suganath Prabu S 2020-11-26  4844       
ioc->diag_trigger_master.MasterData =
aec93e8e2385126 Suganath Prabu S 2020-11-26  4845           
(MASTER_TRIGGER_FW_FAULT + MASTER_TRIGGER_ADAPTER_RESET);
aec93e8e2385126 Suganath Prabu S 2020-11-26  4846       trigger_flags = 
_base_check_for_trigger_pages_support(ioc);
aec93e8e2385126 Suganath Prabu S 2020-11-26 @4847       if (trigger_flags < 0)
aec93e8e2385126 Suganath Prabu S 2020-11-26  4848               return;
aec93e8e2385126 Suganath Prabu S 2020-11-26  4849       
ioc->supports_trigger_pages = 1;
aec93e8e2385126 Suganath Prabu S 2020-11-26  4850  }
aec93e8e2385126 Suganath Prabu S 2020-11-26  4851  

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

Attachment: .config.gz
Description: application/gzip

_______________________________________________
kbuild mailing list -- kbuild@lists.01.org
To unsubscribe send an email to kbuild-le...@lists.01.org

Reply via email to