Hi Bjorn,

On 03/09/14 18:05, Bjorn Helgaas wrote:
On Wed, Sep 3, 2014 at 11:00 AM, Sudeep Holla <[email protected]> wrote:
From: Sudeep Holla <[email protected]>

Many sysfs *_show function use cpu{list,mask}_scnprintf to copy cpumap
to the buffer aligned to PAGE_SIZE, append '\n' and '\0' to return null
terminated buffer with newline.

This patch creates a new helper function cpumap_copy_to_buf in
cpumask.h and consolidates most of them using this new helper.

Signed-off-by: Sudeep Holla <[email protected]>
Suggested-by: Stephen Boyd <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: "Rafael J. Wysocki" <[email protected]>
Cc: Bjorn Helgaas <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]

Acked-by: Bjorn Helgaas <[email protected]> (drivers/pci part)


Thanks.

I assume you'll merge this via a non-PCI tree.


Yes, since it's widespread change, I prefer it to go through Greg's tree.

Regards,
Sudeep

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to