29 Aug, 2016
2 commits
-
We get 2 warnings when biuld kernel with W=1:
drivers/mailbox/bcm-pdc-mailbox.c:472:6: warning: no previous prototype for 'pdc_setup_debugfs' [-Wmissing-prototypes]
drivers/mailbox/bcm-pdc-mailbox.c:488:6: warning: no previous prototype for 'pdc_free_debugfs' [-Wmissing-prototypes]In fact, these functions are only used in the file in which they are
declared and don't need a declaration, but can be made static.
so this patch marks these functions with 'static'.Signed-off-by: Baoyou Xie
Acked-by: Arnd Bergmann
Signed-off-by: Jassi Brar -
We can't pass NULL pointers to pdc_ring_free() so I moved the check for
NULL.Signed-off-by: Dan Carpenter
Signed-off-by: Jassi Brar
28 Jul, 2016
2 commits
-
Fix format and type mismatches in a couple debug prints in the
Broadcom PDC driver. Use %pad for dma_addr_t and %pa for
resource_size_t.Signed-off-by: Rob Rice
Reported-by: Fengguang Wu
Signed-off-by: Jassi Brar -
The Broadcom PDC mailbox driver is a mailbox controller that
manages data transfers to and from one or more offload engines.Signed-off-by: Rob Rice
Reviewed-by: Scott Branden
Reviewed-by: Ray Jui
Signed-off-by: Jassi Brar