Commit 82554c2f authored by Ben Marsh's avatar Ben Marsh Committed by Greg Kroah-Hartman
Browse files

Staging: slicoss: change memory allocation style in slicoss.c



This is a patch to slicoss.c to change the memory allocation style in
slicoss.c as found by checkpatch.pl

Signed-off-by: default avatarBen Marsh <bmarsh94@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent e4a34826
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -872,7 +872,7 @@ static int slic_upr_queue_request(struct adapter *adapter,
	struct slic_upr *upr;
	struct slic_upr *uprqueue;

	upr = kmalloc(sizeof(struct slic_upr), GFP_ATOMIC);
	upr = kmalloc(sizeof(*upr), GFP_ATOMIC);
	if (!upr)
		return -ENOMEM;