Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Staging: frontier: fix space and * coding style issues in alphatrack.c

This is a patch to the alphatrack.c file that fixes up a space warning
and a space after '*' warning found by the checkpatch.pl tool

Signed-off-by: Mauro Schilman <maurito.s@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

authored by

Mauro Schilman and committed by
Greg Kroah-Hartman
9dd5f271 b5ef0761

+2 -2
+2 -2
drivers/staging/frontier/alphatrack.c
··· 89 89 90 90 /* Use our own dbg macro */ 91 91 #define dbg_info(dev, format, arg...) do \ 92 - { if (debug) dev_info(dev , format , ## arg); } while (0) 92 + { if (debug) dev_info(dev , format , ## arg); } while (0) 93 93 94 94 #define alphatrack_ocmd_info(dev, cmd, format, arg...) 95 95 ··· 769 769 } 770 770 771 771 dev->write_buffer = 772 - kmalloc(sizeof(struct alphatrack_ocmd) * true_size, GFP_KERNEL); 772 + kmalloc(true_size * sizeof(struct alphatrack_ocmd), GFP_KERNEL); 773 773 774 774 if (!dev->write_buffer) { 775 775 dev_err(&intf->dev, "Couldn't allocate write_buffer\n");