
It is generally useful to log the reason for a panic at the time of panic. The Linux panic API accepts a reason string, so to aid in moving from panic() to QDF_DEBUG_PANIC(), add an optional reason parameter. Change-Id: If4ed0e664f6b15deb4c6edf76bdc25f55ba82fac CRs-Fixed: 2271764