aboutsummaryrefslogtreecommitdiff
path: root/tools/lib/traceevent/plugin_function.c
diff options
context:
space:
mode:
authorJames Bottomley <James.Bottomley@HansenPartnership.com>2018-10-18 16:50:56 -0700
committerMartin K. Petersen <martin.petersen@oracle.com>2018-10-19 18:26:58 -0400
commitd592dd64006f8026e2639e81b9705b20824b73fc (patch)
tree3f13ceb481c944f154476b8772cbe067e1d47b13 /tools/lib/traceevent/plugin_function.c
parent4d5b4ac1eae471bcd0fa381ab4099cc33e94e15d (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/lib/traceevent/plugin_function.c')
0 files changed, 0 insertions, 0 deletions