diff options
author | James Bottomley <James.Bottomley@HansenPartnership.com> | 2018-10-18 16:50:56 -0700 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-10-19 18:26:58 -0400 |
commit | d592dd64006f8026e2639e81b9705b20824b73fc (patch) | |
tree | 3f13ceb481c944f154476b8772cbe067e1d47b13 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 4d5b4ac1eae471bcd0fa381ab4099cc33e94e15d (diff) |
scsi: myrs: fix build failure on 32 bit
For 32 bit versions we have to be careful about divisions of 64 bit
quantities so use do_div() instead of a direct division. This fixes a
warning about _uldivmod being undefined in certain configurations
Fixes: 77266186397c ("scsi: myrs: Add Mylex RAID controller")
Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Tested-by: Randy Dunlap <rdunlap@infradead.org> # build-tested
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions