staging: greybus: fix various coding style issues
Subsystems (6)
cover staging: greybus: fix various coding style issues
Fix various coding style issues reported by reportcheck, uncrustify and coccinelle.
Ioannis Valasakis (15):
staging: greybus: shorten comparison to NULL
staging: greybus: align parameters to parentheses
staging: greybus: add a blank line after declaration
staging: greybus: fix SPDX License Identifier
greybus: staging: align arguments with parentheses
staging: greybus: correct SPDX License Identifier
staging: greybus: remove multiple blank lines
staging: greybus: insert empty line after struct
staging: greybus: remove space before tab
staging: greybus: remove multiple blank lines
staging: greybus: add extra space around OR operator
staging: greybus: remove extra space before tab
staging: greybus: correct SPDX license identifiers
staging: greybus: remove comparison to BOOL
staging: greybus: remove unmatched right bracket
drivers/staging/greybus/arche-apb-ctrl.c | 1 - drivers/staging/greybus/arche_platform.h | 2 +- drivers/staging/greybus/arpc.h | 2 +- drivers/staging/greybus/audio_apbridgea.h | 2 +- drivers/staging/greybus/audio_codec.h | 2 +- drivers/staging/greybus/audio_manager.h | 2 +- .../staging/greybus/audio_manager_private.h | 2 +- drivers/staging/greybus/bundle.h | 3 +- drivers/staging/greybus/camera.c | 1 - drivers/staging/greybus/connection.c | 4 --- drivers/staging/greybus/connection.h | 2 +- drivers/staging/greybus/control.h | 5 ++-- drivers/staging/greybus/core.c | 4 +-- drivers/staging/greybus/es2.c | 4 +-- drivers/staging/greybus/firmware.h | 2 +- drivers/staging/greybus/gb-camera.h | 2 +- drivers/staging/greybus/gbphy.h | 2 +- drivers/staging/greybus/greybus.h | 2 +- .../staging/greybus/greybus_authentication.h | 2 +- drivers/staging/greybus/greybus_firmware.h | 2 +- drivers/staging/greybus/greybus_manifest.h | 2 +- drivers/staging/greybus/greybus_protocols.h | 29 +++++-------------- drivers/staging/greybus/greybus_trace.h | 2 +- drivers/staging/greybus/hd.h | 2 +- drivers/staging/greybus/interface.h | 2 +- drivers/staging/greybus/manifest.h | 2 +- drivers/staging/greybus/module.h | 2 +- drivers/staging/greybus/operation.h | 2 +- drivers/staging/greybus/spilib.h | 2 +- drivers/staging/greybus/svc.h | 2 +- drivers/staging/greybus/uart.c | 4 +-- 31 files changed, 40 insertions(+), 59 deletions(-)
Signature · 1 line
2.19.1
PATCH 1/15 staging: greybus: shorten comparison to NULL
Shorten pointer NULL check by simple truth test.
Reported by checkpatch.
--- drivers/staging/greybus/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/greybus/core.c +1 -1
@@ -48,7 +48,7 @@ static bool greybus_match_one_id(struct gb_bundle *bundle,static const struct greybus_bundle_id *greybus_match_id (struct gb_bundle *bundle,const struct greybus_bundle_id *id) { -if (id ==NULL ) +if (!id)return NULL ; for (; id->vendor || id->product || id->class || id->driver_info;
Signature · 1 line
2.19.1
PATCH 2/15 staging: greybus: align parameters to parentheses
In reply to Ioannis ValasakisAlign parameters to the right side of the left parentheses Reported by checkpatch.
--- drivers/staging/greybus/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/greybus/core.c +1 -1
@@ -28,7 +28,7 @@ int greybus_disabled(void)EXPORT_SYMBOL_GPL (greybus_disabled);static bool greybus_match_one_id (struct gb_bundle *bundle, -const struct greybus_bundle_id *id) +const struct greybus_bundle_id *id) {if ((id->match_flags &GREYBUS_ID_MATCH_VENDOR ) && (id->vendor != bundle->intf->vendor_id))
Signature · 1 line
2.19.1
PATCH 3/15 staging: greybus: add a blank line after declaration
In reply to Ioannis ValasakisAdd a blank line after the struct declaration.
Reported by checkpatch.
--- drivers/staging/greybus/control.h | 1 + 1 file changed, 1 insertion(+)
drivers/staging/greybus/control.h +1 -0
@@ -24,6 +24,7 @@ struct gb_control {char *vendor_string;char *product_string; }; +#define to_gb_control (d) container_of(d, struct gb_control, dev)struct gb_control *gb_control_create (struct gb_interface *intf);
Signature · 1 line
2.19.1
PATCH 4/15 staging: greybus: fix SPDX License Identifier
In reply to Ioannis ValasakisReplace the SPDX identifier with standard C comment. Reported by checkpatch.
--- drivers/staging/greybus/control.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/greybus/control.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ /* * Greybus CPort control protocol *
Signature · 1 line
2.19.1
PATCH 5/15 greybus: staging: align arguments with parentheses
In reply to Ioannis ValasakisAlign arguments with the right side of the open left parentheses. Reported by checkpatch.
--- drivers/staging/greybus/control.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/greybus/control.h +1 -1
@@ -41,7 +41,7 @@ int gb_control_get_bundle_versions(struct gb_control *control);int gb_control_connected_operation (struct gb_control *control,u16 cport_id);int gb_control_disconnected_operation (struct gb_control *control,u16 cport_id);int gb_control_disconnecting_operation (struct gb_control *control, -u16 cport_id); +u16 cport_id);int gb_control_mode_switch_operation (struct gb_control *control);void gb_control_mode_switch_prepare (struct gb_control *control);void gb_control_mode_switch_complete (struct gb_control *control);
Signature · 1 line
2.19.1
PATCH 6/15 staging: greybus: correct SPDX License Identifier
In reply to Ioannis ValasakisReplace SPDX License Identifier comments with C comments. Reported by checkpatch.
--- drivers/staging/greybus/arche_platform.h | 2 +- drivers/staging/greybus/arpc.h | 2 +- drivers/staging/greybus/audio_apbridgea.h | 2 +- drivers/staging/greybus/audio_codec.h | 2 +- drivers/staging/greybus/audio_manager.h | 2 +- drivers/staging/greybus/audio_manager_private.h | 2 +- drivers/staging/greybus/bundle.h | 2 +- drivers/staging/greybus/connection.h | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-)
drivers/staging/greybus/arche_platform.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ /* * Arche Platform driver to enable Unipro link. *
drivers/staging/greybus/arpc.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) +/* SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) */ /* * This file is provided under a dual BSD/GPLv2 license. When using or * redistributing this file, you may do so under either license.
drivers/staging/greybus/audio_apbridgea.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: BSD-3-Clause +/* SPDX-License-Identifier: BSD-3-Clause */ /** * Copyright (c) 2015-2016 Google Inc. * All rights reserved.
drivers/staging/greybus/audio_codec.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ /* * Greybus audio driver * Copyright 2015 Google Inc.
drivers/staging/greybus/audio_manager.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ /* * Greybus operations *
drivers/staging/greybus/audio_manager_private.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ /* * Greybus operations *
drivers/staging/greybus/bundle.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ /* * Greybus bundles *
drivers/staging/greybus/connection.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ /* * Greybus connections *
Signature · 1 line
2.19.1
PATCH 7/15 staging: greybus: remove multiple blank lines
In reply to Ioannis ValasakisRemove continuous multiple blank lines.
Reported by checkpatch.
--- drivers/staging/greybus/arche-apb-ctrl.c | 1 - drivers/staging/greybus/connection.c | 4 ---- 2 files changed, 5 deletions(-)
drivers/staging/greybus/arche-apb-ctrl.c +0 -1
@@ -20,7 +20,6 @@#include <linux/spinlock.h> #include "arche_platform.h" -static void apb_bootret_deassert (struct device *dev);struct arche_apb_ctrl_drvdata {
drivers/staging/greybus/connection.c +0 -4
@@ -11,17 +11,13 @@#include "greybus.h" #include "greybus_trace.h" -#define GB_CONNECTION_CPORT_QUIESCE_TIMEOUT 1000 -static void gb_connection_kref_release (struct kref *kref); -static DEFINE_SPINLOCK (gb_connections_lock);static DEFINE_MUTEX (gb_connection_mutex); -/* Caller holds gb_connection_mutex. */ static bool gb_connection_cport_in_use (struct gb_interface *intf,u16 cport_id) {
Signature · 1 line
2.19.1
PATCH 8/15 staging: greybus: insert empty line after struct
In reply to Ioannis ValasakisInsert empty line after struct definition.
Reported by checkpatch.
--- drivers/staging/greybus/bundle.h | 1 + 1 file changed, 1 insertion(+)
drivers/staging/greybus/bundle.h +1 -0
@@ -31,6 +31,7 @@ struct gb_bundle {struct list_head links;/* interface->bundles */ }; +#define to_gb_bundle (d) container_of(d, struct gb_bundle, dev)/* Greybus "private" definitions" */
Signature · 1 line
2.19.1
PATCH 9/15 staging: greybus: remove space before tab
In reply to Ioannis ValasakisRemove extra space before a tab character.
Reported by checkpatch.
--- drivers/staging/greybus/uart.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/staging/greybus/uart.c +2 -2
@@ -805,8 +805,8 @@ static const struct tty_operations gb_ops = { .tiocmget = gb_tty_tiocmget, .tiocmset = gb_tty_tiocmset, .get_icount = gb_tty_get_icount, - .set_serial = set_serial_info, - .get_serial = get_serial_info, + .set_serial = set_serial_info, + .get_serial = get_serial_info, };static const struct tty_port_operations gb_port_ops = {
Signature · 1 line
2.19.1
PATCH 10/15 staging: greybus: remove multiple blank lines
In reply to Ioannis ValasakisRemove extra blank lines to conform with coding style. Reported by checkpatch.
--- drivers/staging/greybus/greybus_protocols.h | 15 --------------- 1 file changed, 15 deletions(-)
drivers/staging/greybus/greybus_protocols.h +0 -15
@@ -65,7 +65,6 @@#define GB_CONTROL_BUNDLE_ID 0#define GB_CONTROL_CPORT_ID 0 -/* * All operation messages (both requests and responses) begin with * a header that encodes the size of the message (header included).
@@ -95,7 +94,6 @@ struct gb_operation_msg_hdr {__u8 pad[2 ];/* must be zero (ignore when read) */ } __packed; -/* Generic request types */ #define GB_REQUEST_TYPE_CPORT_SHUTDOWN 0x00#define GB_REQUEST_TYPE_INVALID 0x7f
@@ -104,7 +102,6 @@ struct gb_cport_shutdown_request {__u8 phase; } __packed; -/* Control Protocol */ /* Greybus control request types */
@@ -249,7 +246,6 @@ struct gb_apb_request_cport_flags {#define GB_APB_CPORT_FLAG_HIGH_PRIO 0x02 } __packed; -/* Firmware Download Protocol */ /* Request Types */
@@ -286,7 +282,6 @@ struct gb_fw_download_release_firmware_request { } __packed;/* firmware download release firmware response has no payload */ -/* Firmware Management Protocol */ /* Request Types */
@@ -368,7 +363,6 @@ struct gb_fw_mgmt_backend_fw_updated_request { } __packed;/* firmware management backend firmware updated response has no payload */ -/* Component Authentication Protocol (CAP) */ /* Request Types */
@@ -405,7 +399,6 @@ struct gb_cap_authenticate_response {__u8 signature[0 ]; } __packed; -/* Bootrom Protocol */ /* Version of the Greybus bootrom protocol we support */
@@ -474,7 +467,6 @@ struct gb_bootrom_get_vid_pid_response {__le32 product_id; } __packed; -/* Power Supply */ /* Greybus power supply request types */
@@ -648,7 +640,6 @@ struct gb_power_supply_event_request {#define GB_POWER_SUPPLY_UPDATE 0x01 } __packed; -/* HID */ /* Greybus HID operation types */
@@ -694,7 +685,6 @@ struct gb_hid_input_report_request {__u8 report[0 ]; } __packed; -/* I2C */ /* Greybus i2c request types */
@@ -730,7 +720,6 @@ struct gb_i2c_transfer_response {__u8 data[0 ];/* inbound data */ } __packed; -/* GPIO */ /* Greybus GPIO request types */
@@ -829,7 +818,6 @@ struct gb_gpio_irq_event_request { } __packed;/* irq event has no response */ -/* PWM */ /* Greybus PWM operation types */
@@ -1317,7 +1305,6 @@ struct gb_svc_intf_oops_request { } __packed;/* intf_oops response has no payload */ -/* RAW */ /* Greybus raw request types */
@@ -1328,7 +1315,6 @@ struct gb_raw_send_request {__u8 data[0 ]; } __packed; -/* UART */ /* Greybus UART operation types */
@@ -2204,7 +2190,6 @@ struct gb_audio_send_data_request {__u8 data[0 ]; } __packed; -/* Log */ /* operations */
Signature · 1 line
2.19.1
PATCH 11/15 staging: greybus: add extra space around OR operator
In reply to Ioannis ValasakisAdd extra spaces around the OR operator.
Reported by checkpatch.
--- drivers/staging/greybus/greybus_protocols.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
drivers/staging/greybus/greybus_protocols.h +4 -4
@@ -866,10 +866,10 @@ struct gb_pwm_disable_request {/* Should match up with modes in linux/spi/spi.h */ #define GB_SPI_MODE_CPHA 0x01/* clock phase */ #define GB_SPI_MODE_CPOL 0x02/* clock polarity */ -#define GB_SPI_MODE_MODE_0 (0|0)/* (original MicroWire) */ -#define GB_SPI_MODE_MODE_1 (0|GB_SPI_MODE_CPHA) -#define GB_SPI_MODE_MODE_2 (GB_SPI_MODE_CPOL|0) -#define GB_SPI_MODE_MODE_3 (GB_SPI_MODE_CPOL|GB_SPI_MODE_CPHA) +#define GB_SPI_MODE_MODE_0 (0 | 0)/* (original MicroWire) */ +#define GB_SPI_MODE_MODE_1 (0 | GB_SPI_MODE_CPHA) +#define GB_SPI_MODE_MODE_2 (GB_SPI_MODE_CPOL | 0) +#define GB_SPI_MODE_MODE_3 (GB_SPI_MODE_CPOL | GB_SPI_MODE_CPHA)#define GB_SPI_MODE_CS_HIGH 0x04/* chipselect active high? */ #define GB_SPI_MODE_LSB_FIRST 0x08/* per-word bits-on-wire */ #define GB_SPI_MODE_3WIRE 0x10/* SI/SO signals shared */
Signature · 1 line
2.19.1
PATCH 12/15 staging: greybus: remove extra space before tab
In reply to Ioannis ValasakisRemove extra spaces before the tab character inside a comment section. Reported by checkpatch.
--- drivers/staging/greybus/greybus_protocols.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/staging/greybus/greybus_protocols.h +2 -2
@@ -914,8 +914,8 @@ struct gb_spi_device_config_response {/** * struct gb_spi_transfer - a read/write buffer pair -* @speed_hz: Select a speed other than the device default for this transfer. If -* 0 the default (from @spi_device) is used. +* @speed_hz: Select a speed other than the device default for this transfer. +* If 0 the default (from @spi_device) is used. * @len: size of rx and tx buffers (in bytes) * @delay_usecs: microseconds to delay after this transfer before (optionally) * changing the chipselect status, then starting the next transfer or
Signature · 1 line
2.19.1
PATCH 13/15 staging: greybus: correct SPDX license identifiers
In reply to Ioannis ValasakisCorrect the SPDX License Identifiers by replacing the comment to C-style comment. Reported by checkpatch.
--- drivers/staging/greybus/firmware.h | 2 +- drivers/staging/greybus/gb-camera.h | 2 +- drivers/staging/greybus/gbphy.h | 2 +- drivers/staging/greybus/greybus.h | 2 +- drivers/staging/greybus/greybus_authentication.h | 2 +- drivers/staging/greybus/greybus_firmware.h | 2 +- drivers/staging/greybus/greybus_manifest.h | 2 +- drivers/staging/greybus/greybus_protocols.h | 2 +- drivers/staging/greybus/greybus_trace.h | 2 +- drivers/staging/greybus/hd.h | 2 +- drivers/staging/greybus/interface.h | 2 +- drivers/staging/greybus/manifest.h | 2 +- drivers/staging/greybus/module.h | 2 +- drivers/staging/greybus/operation.h | 2 +- drivers/staging/greybus/spilib.h | 2 +- drivers/staging/greybus/svc.h | 2 +- 16 files changed, 16 insertions(+), 16 deletions(-)
drivers/staging/greybus/firmware.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ /* * Greybus Firmware Management Header *
drivers/staging/greybus/gb-camera.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ /* * Greybus Camera protocol driver. *
drivers/staging/greybus/gbphy.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ /* * Greybus Bridged-Phy Bus driver *
drivers/staging/greybus/greybus.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ /* * Greybus driver and device API *
drivers/staging/greybus/greybus_authentication.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) +/* SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) */ /* * Greybus Component Authentication User Header *
drivers/staging/greybus/greybus_firmware.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) +/* SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) */ /* * Greybus Firmware Management User Header *
drivers/staging/greybus/greybus_manifest.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ /* * Greybus manifest definition *
drivers/staging/greybus/greybus_protocols.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) +/* SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) */ /* * This file is provided under a dual BSD/GPLv2 license. When using or * redistributing this file, you may do so under either license.
drivers/staging/greybus/greybus_trace.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ /* * Greybus driver and device API *
drivers/staging/greybus/hd.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ /* * Greybus Host Device *
drivers/staging/greybus/interface.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ /* * Greybus Interface Block code *
drivers/staging/greybus/manifest.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ /* * Greybus manifest parsing *
drivers/staging/greybus/module.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ /* * Greybus Module code *
drivers/staging/greybus/operation.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ /* * Greybus operations *
drivers/staging/greybus/spilib.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ /* * Greybus SPI library header *
drivers/staging/greybus/svc.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ /* * Greybus SVC code *
Signature · 1 line
2.19.1
PATCH 14/15 staging: greybus: remove comparison to BOOL
In reply to Ioannis ValasakisRemove two instances of a comparison to BOOL.
Reported by coccinelle.
--- drivers/staging/greybus/es2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/staging/greybus/es2.c +2 -2
@@ -316,8 +316,8 @@ static struct urb *next_free_urb(struct es2_ap_dev *es2, gfp_t gfp_mask)/* Look in our pool of allocated urbs first, as that's the "fastest" */ for (i =0 ; i <NUM_CPORT_OUT_URB ; ++i) { -if (es2->cport_out_urb_busy[i] == false && - es2->cport_out_urb_cancelled[i] == false) { +if (!es2->cport_out_urb_busy[i] && + !es2->cport_out_urb_cancelled[i]) { es2->cport_out_urb_busy[i] = true; urb = es2->cport_out_urb[i];break ;
Signature · 1 line
2.19.1
PATCH 15/15 staging: greybus: remove unmatched right bracket
In reply to Ioannis ValasakisRemove unmatched right bracket. Reported by uncrustify.
--- drivers/staging/greybus/camera.c | 1 - 1 file changed, 1 deletion(-)
drivers/staging/greybus/camera.c +0 -1
@@ -1190,7 +1190,6 @@ static int gb_camera_debugfs_init(struct gb_camera *gcam)debugfs_create_file (entry->name, entry->mask, gcam->debugfs.root, gcam, &gb_camera_debugfs_ops); - } }return 0 ;
Signature · 1 line
2.19.1
Greg KH
maintainerQuoted 9 lines · Ioannis Valasakis
Fix various coding style issues reported by reportcheck, uncrustify and coccinelle.
Ioannis Valasakis (15):
staging: greybus: shorten comparison to NULL
staging: greybus: align parameters to parentheses
staging: greybus: add a blank line after declaration
staging: greybus: fix SPDX License Identifier
greybus: staging: align arguments with parentheses
Looks like your subject got switched around here.
Again, doing a review of your email before sending it out is very good.
v2?
thanks,
greg k-h
Quoted 14 lines · gregkh
Quoted 9 lines · Ioannis Valasakis
Fix various coding style issues reported by reportcheck, uncrustify and coccinelle.
Ioannis Valasakis (15):
staging: greybus: shorten comparison to NULL
staging: greybus: align parameters to parentheses
staging: greybus: add a blank line after declaration
staging: greybus: fix SPDX License Identifier
greybus: staging: align arguments with parenthesesLooks like your subject got switched around here.
Quoted 8 lines
Again, doing a review of your email before sending it out is very good.
v2?
thanks,
greg k-h
thanks greg! probably it's due to my misunderstanding but this patch series wasn't the same
as before (as I've added a few commits). So I didn't consider it a continuation that's why I re-edited
the code and added new subject lines/commits. Was that wrong? I am going to do a v2 if needed, just
need to understand :)
Thanks!
ioannis
Quoted 24 lines · On Wed, Nov 07, 2018 at 09:48:03AM -0800, [email protected] wrote:
Quoted 14 lines · gregkh
Quoted 9 lines · Ioannis Valasakis
Fix various coding style issues reported by reportcheck, uncrustify and coccinelle.
Ioannis Valasakis (15):
staging: greybus: shorten comparison to NULL
staging: greybus: align parameters to parentheses
staging: greybus: add a blank line after declaration
staging: greybus: fix SPDX License Identifier
greybus: staging: align arguments with parenthesesLooks like your subject got switched around here.
Quoted 8 lines
Again, doing a review of your email before sending it out is very good.
v2?
thanks,
greg k-h
Quoted 7 lines
thanks greg! probably it's due to my misunderstanding but this patch series wasn't the same
as before (as I've added a few commits). So I didn't consider it a continuation that's why I re-edited
the code and added new subject lines/commits. Was that wrong? I am going to do a v2 if needed, just
need to understand :)
Sorry for not being explicit, you did this correctly, except for that one patch with the subject line a bit messed up.
I was _asking_ for a v2 series to be sent to fix this up, so that I can accept these patches. Can you do that please?
thanks,
greg k-h