Andrew Rybchenko e561c5fe44 sfxge(4): fix align to power of 2 when align has smaller type
Substitute driver-defined P2ALIGN() with EFX_P2ALIGN() defined in
libefx.

Cast value and alignment to one specified type to guarantee result
correctness.

Reported by:    Andrea Valsania <andrea.valsania at answervad.it>
Reviewed by:	philip
Sponsored by:   Solarflare Communications, Inc.
MFC after:      2 days
Differential Revision:  https://reviews.freebsd.org/D21075
2019-07-27 09:36:36 +00:00
..
2019-05-24 06:07:33 +00:00
2019-02-25 21:59:01 +00:00
2019-05-28 18:05:10 +00:00
2019-01-25 21:38:28 +00:00
2019-03-19 14:34:53 +00:00
2019-05-30 13:52:32 +00:00
2018-12-17 21:34:09 +00:00
2019-03-20 17:27:00 +00:00
2019-05-23 12:51:13 +00:00
2019-07-25 20:26:21 +00:00
2019-07-10 12:40:07 +00:00
2019-02-05 21:37:34 +00:00
2019-03-11 14:26:45 +00:00
2019-02-05 21:37:34 +00:00
2019-06-08 16:26:56 +00:00
2019-02-05 21:37:34 +00:00
2019-07-08 20:01:28 +00:00
2019-02-04 21:28:25 +00:00
2019-04-16 02:46:21 +00:00
2019-07-22 16:50:37 +00:00
2019-02-26 19:55:03 +00:00