Messages in this thread | | | Date | Mon, 30 Dec 2013 15:38:20 +0100 | From | Joerg Roedel <> | Subject | Re: [PATCH 1/3] drivers: iommu: Mark functions as static in dmar.c |
| |
On Wed, Dec 18, 2013 at 12:01:46PM +0530, Rashika Kheria wrote: > Mark the functions check_zero_address() and dmar_get_fault_reason() as > static in dmar.c because they are not used outside this file. > > This eliminates the following warnings in dmar.c: > drivers/iommu/dmar.c:491:12: warning: no previous prototype for ‘check_zero_address’ [-Wmissing-prototypes] > drivers/iommu/dmar.c:1116:13: warning: no previous prototype for ‘dmar_get_fault_reason’ [-Wmissing-prototypes] > > Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com> > Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Applied all, thanks.
-- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |