[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <a6a9f730-4e1a-6f57-7844-d2fe4dc03dc9@ozlabs.org>
Date: Thu, 22 Jun 2017 06:07:00 +0800
From: Jeremy Kerr <jk@...abs.org>
To: Joel Stanley <joel@....id.au>
Cc: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Christopher Bostic <cbostic@...ux.vnet.ibm.com>
Subject: Re: [PATCH 3/3] fsi/master-gpio: Add external mode
Hi Joel,
>> +static ssize_t external_mode_show(struct device *dev,
>> + struct device_attribute *attr, char *buf)
>> +{
>> + struct fsi_master_gpio *master = dev_get_drvdata(dev);
>> +
>> + return snprintf(buf, PAGE_SIZE - 1, "%u",
>
> I gave this a spin on a machine today and noticed we're missing a
> newline there. Should this be "%u\n"?
Yep, that'd make things easier to read. v2 coming.
Cheers,
Jeremy
Powered by blists - more mailing lists