[PATCH] Staging: comedi: s626.c: fixed trailing */ style issue
From: edcarter Fixed coding style issue where trailing */ in block comments were not on separate lines. Signed-off-by: Elias Carter --- drivers/staging/comedi/drivers/s626.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/staging/comedi/drivers/s626.c b/drivers/staging/comedi/drivers/s626.c index 4b9c226..c906c9a 100644 --- a/drivers/staging/comedi/drivers/s626.c +++ b/drivers/staging/comedi/drivers/s626.c @@ -580,11 +580,14 @@ static int s626_set_dac(struct comedi_device *dev, * running after the packet has been sent to the target DAC. */ val = 0x0F00; /* Continue clock after target DAC data -* (write to non-existent trimdac). */ +* (write to non-existent trimdac). +*/ val |= 0x4000; /* Address the two main dual-DAC devices -* (TSL's chip select enables target device). */ +* (TSL's chip select enables target device). +*/ val |= ((u32)(chan & 1) << 15); /* Address the DAC channel -* within the device. */ +* within the device. +*/ val |= (u32)dacdata;/* Include DAC setpoint data. */ return s626_send_dac(dev, val); } -- 2.7.4 ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
[PATCH] staging: wlan-ng: cfg80211.c: fixed a line over 80 characters long
From: edcarter Fixed a coding style issue where a line was longer than 80 characters. Signed-off-by: Elias Carter --- drivers/staging/wlan-ng/cfg80211.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/wlan-ng/cfg80211.c b/drivers/staging/wlan-ng/cfg80211.c index 178f6f5..e82043e 100644 --- a/drivers/staging/wlan-ng/cfg80211.c +++ b/drivers/staging/wlan-ng/cfg80211.c @@ -692,7 +692,8 @@ static const struct cfg80211_ops prism2_usb_cfg_ops = { }; /* Functions to create/free wiphy interface */ -static struct wiphy *wlan_create_wiphy(struct device *dev, struct wlandevice *wlandev) +static struct wiphy *wlan_create_wiphy(struct device *dev, + struct wlandevice *wlandev) { struct wiphy *wiphy; struct prism2_wiphy_private *priv; -- 2.7.4 ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
Re: [PATCH] staging: wlan-ng: cfg80211.c: fixed a line over 80 characters long
On Fri, Jun 09, 2017 at 07:41:12AM +0200, Greg KH wrote: > On Thu, Jun 08, 2017 at 06:38:30PM -0700, Elias Carter wrote: > > From: edcarter > > > > Fixed a coding style issue where a line was longer than 80 characters. > > > > Signed-off-by: Elias Carter > > Your from and signed-off-by names have to match :( Hi Greg, thanks for the feedback. I fixed the issue but I was wondering if I should include the patch in a reply to this email or resend a new patch? I am just trying to find my way around the development process. ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel