From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arend van Spriel Date: Thu, 8 Jan 2015 21:10:24 +0100 Subject: [ath9k-devel] [PATCH] ath: ath9k: use debugfs_create_devm_seqfile() helper for seq_file entries In-Reply-To: <21677.63268.657151.679992@gargle.gargle.HOWL> References: <1419685980-4728-1-git-send-email-arend@broadcom.com> <87bnmapiur.fsf@kamboji.qca.qualcomm.com> <21677.63268.657151.679992@gargle.gargle.HOWL> Message-ID: <54AEE430.2070706@broadcom.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org On 01/08/15 04:19, Sujith Manoharan wrote: >> Arend van Spriel writes: >> >>> Use the helper to get rid of the file operations per debugfs file. The >>> device driver data contains struct ieee80211_hw pointer and the >>> struct ath9k_softc pointer is assigned to ieee80211_hw::priv so it can >>> be accessed in the seq_file read operation. >>> >>> Cc: ath9k-devel at lists.ath9k.org >>> Signed-off-by: Arend van Spriel > > Thanks for the patch. > >> Can someone with ath9k hardware test this, please? I'm hesitant to apply >> this without testing. > > I tested it and there were no crashes. Thanks, Sujith So the content of the modified debugfs files looks sane? Regards, Arend > Sujith