Re: [PATCH v1] :reuse DEFINE_SHOW_ATTRIBUTE() macro

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2018-07-09 at 10:45 +0200, Pavel Machek wrote:
> On Mon 2018-07-09 10:35:23, Andy Shevchenko wrote:
> > On Mon, Jul 9, 2018 at 10:30 AM, Pavel Machek <pavel@xxxxxx> wrote:
> > > On Mon 2018-07-09 10:23:41, Andy Shevchenko wrote:
> > > > Reuse DEFINE_SHOW_ATTRIBUTE() macro instead of open coding file
> > > > operations followed by custom ->open() callbacks per each
> > > > attribute.
> > > > 
> > > > Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxx
> > > > m>
> > > 
> > > Is it supposed to fix the "grep /sys" crash?
> > 
> > Nope.
> > Just a clean up.
> > You in Cc list since you are doing some investigations in this area.
> 
> Aha. Thanks for the Cc.
> 
> I test-booted kernel with patch applied, and it still crashes same way
> upon grep, so I guess that's Tested-by... :-).

Yep, thanks!


Btw, looking into problem you are experiencing I would bet that if
crashes in clkdm_dbg_show_counter(), b/c grepping against "time" was
successful. Other than that I can't imaging what is happening there. 
You may easily add debug prints there and see what exactly makes a
crash.

-- 
Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
Intel Finland Oy
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux