Redundant code in fn identity_mapping of intel-iommu.c (intel IOMMU driver)?

2016-09-18 Thread Rawcoder
Hi, I hope this is the right place for driver code related queries. I came across some redundant checks in function identity_mapping of file intel-iommu.c (https://github.com/torvalds/linux/blob/master/drivers/iommu/intel-iommu.c#L2681). This function is called by function iommu_no_mapping of

Re: where's the definition of trace_kfree_skb?

2017-03-28 Thread Rawcoder
> > Where's the definition for it? > It is a tracepoint call. Tracepoints are defined using DECLARE_TRACE or TRACE_EVENT macros [1]. 'git grep "TRACE.*kfree_skb"' gives the desired definition. [1]: https://www.kernel.org/doc/Documentation/trace/tracepoints.txt Regards, rawcoder __