On 01/03, Geert Uytterhoeven wrote: > When exposing data access through debugfs, the correct > debugfs_create_*() functions must be used, matching the data types. > > Remove all casts from data pointers passed to debugfs_create_*() > functions, as such casts prevent the compiler from flagging bugs. > > clk_core.rate and .accuracy are "unsigned long", hence casting their > addresses to "u32 *" exposed the wrong halves on big-endian 64-bit > systems. Fix this by using debugfs_create_ulong() instead. > > Signed-off-by: Geert Uytterhoeven <[email protected]> > ---
Applied to clk-next -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project

