[PATCH 03/10] staging: unisys: virthba fix all alingment issues

Dan Carpenter dan.carpenter at oracle.com
Mon Oct 27 12:10:27 UTC 2014


On Wed, Oct 22, 2014 at 05:52:23PM -0400, Erik Arfvidson wrote:
> @@ -301,13 +302,13 @@ del_scsipending_entry(struct virthba_info *vhbainfo, uintptr_t del)
>  
>  	if (del >= MAX_PENDING_REQUESTS) {
>  		LOGERR("Invalid queue position <<%lu>> given to delete. MAX_PENDING_REQUESTS <<%d>>\n",
> -		     (unsigned long)del, MAX_PENDING_REQUESTS);
> +		       (unsigned long)del, MAX_PENDING_REQUESTS);

Not related to this patch but these casts aren't needed.

regards,
dan carpenter



More information about the devel mailing list