James Bottomley d592dd6400 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>
2018-10-19 18:26:58 -04:00
..
2018-08-15 22:06:26 -07:00
2018-06-12 16:19:22 -07:00
2018-08-15 22:06:26 -07:00
2017-12-04 20:32:53 -05:00
2018-06-19 22:02:25 -04:00
2018-06-19 22:02:25 -04:00
2018-06-19 22:02:25 -04:00
2018-10-17 21:34:20 -04:00
2018-05-18 12:03:51 -04:00
2018-10-17 21:38:29 -04:00
2018-06-19 22:02:25 -04:00
2018-06-19 22:02:25 -04:00
2018-10-17 21:58:52 -04:00
2017-08-25 17:21:10 -04:00
2018-08-15 22:06:26 -07:00
2018-06-19 22:02:25 -04:00
2018-10-17 21:58:53 -04:00
2018-08-15 22:06:26 -07:00
2018-10-17 21:58:53 -04:00
2018-10-17 21:58:52 -04:00
2018-10-19 18:26:58 -04:00
2018-09-28 02:22:43 -04:00
2018-10-17 21:58:52 -04:00
2018-06-12 16:19:22 -07:00
2018-06-12 16:19:22 -07:00
2018-08-15 22:06:26 -07:00
2017-11-14 16:23:44 -08:00
2018-08-15 22:06:26 -07:00
2018-06-04 07:58:06 -07:00
2018-06-19 22:02:25 -04:00
2018-08-15 22:06:26 -07:00
2018-06-12 16:19:22 -07:00
2017-04-26 18:32:29 -04:00
2018-05-01 23:30:12 -04:00