On Sun, Jul 05, 2015 at 09:34:03PM +0200, Karel Gardas wrote:
> Hello,
>
> following patch fixes compilation failure on AMD64 when SR_DEBUG is enabled.
>
> Thanks,
> Karel
>
> Index: dev/softraid_crypto.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/softraid_crypto.c,v
> retrieving revision 1.117
> diff -u -p -u -r1.117 softraid_crypto.c
> --- dev/softraid_crypto.c 14 Mar 2015 03:38:46 -0000 1.117
> +++ dev/softraid_crypto.c 5 Jul 2015 19:26:05 -0000
> @@ -1127,7 +1127,7 @@ sr_crypto_write(struct cryptop *crp)
> struct sr_workunit *wu = &crwu->cr_wu;
> int s;
>
> - DNPRINTF(SR_D_INTR, "%s: sr_crypto_write: wu %x xs: %x\n",
> + DNPRINTF(SR_D_INTR, "%s: sr_crypto_write: wu %p xs: %p\n",
> DEVNAME(wu->swu_dis->sd_sc), wu, wu->swu_xs);
>
> if (crp->crp_etype) {
> @@ -1206,7 +1206,7 @@ sr_crypto_read(struct cryptop *crp)
> struct sr_workunit *wu = &crwu->cr_wu;
> int s;
>
> - DNPRINTF(SR_D_INTR, "%s: sr_crypto_read: wu %x xs: %x\n",
> + DNPRINTF(SR_D_INTR, "%s: sr_crypto_read: wu %p xs: %p\n",
> DEVNAME(wu->swu_dis->sd_sc), wu, wu->swu_xs);
>
> if (crp->crp_etype)
>
Thanks, committed.
-ml