On Mon, 19 Oct 2020, Ian Abbott wrote: > On 18/10/2020 20:49, Deepak R Varma wrote: > > Instructions split on multiple lines can be combined on a single line > > for improved readability of the code. > > > > Signed-off-by: Deepak R Varma <mh12gx2825@xxxxxxxxx> > > --- > > .../staging/comedi/drivers/tests/ni_routes_test.c | 12 ++++-------- > > 1 file changed, 4 insertions(+), 8 deletions(-) > > > > diff --git a/drivers/staging/comedi/drivers/tests/ni_routes_test.c > > b/drivers/staging/comedi/drivers/tests/ni_routes_test.c > > index 7db83cf5e4aa..a3b1be623861 100644 > > --- a/drivers/staging/comedi/drivers/tests/ni_routes_test.c > > +++ b/drivers/staging/comedi/drivers/tests/ni_routes_test.c > > @@ -499,14 +499,10 @@ void test_route_register_is_valid(void) > > const struct ni_route_tables *T = &private.routing_tables; > > init_pci_fake(); > > - unittest(!route_register_is_valid(4, O(4), T), > > - "check for bad source 4-->4\n"); > > - unittest(!route_register_is_valid(0, O(1), T), > > - "find first source\n"); > > - unittest(!route_register_is_valid(4, O(6), T), > > - "find middle source\n"); > > - unittest(!route_register_is_valid(9, O(8), T), > > - "find last source"); > > + unittest(!route_register_is_valid(4, O(4), T), "check for bad source > > 4-->4\n"); > > + unittest(!route_register_is_valid(0, O(1), T), "find first source\n"); > > + unittest(!route_register_is_valid(4, O(6), T), "find middle > > source\n"); > > + unittest(!route_register_is_valid(9, O(8), T), "find last source"); > > } > > void test_ni_check_trigger_arg(void) > > > > Is it worth breaking the 80-column limit for this? Deepak, It was much nicer before. It can be awkward to break eg a + operation at the 80 character limit. But function argument stand by themselves. julia > > -- > -=( Ian Abbott <abbotti@xxxxxxxxx> || MEV Ltd. is a company )=- > -=( registered in England & Wales. Regd. number: 02862268. )=- > -=( Regd. addr.: S11 & 12 Building 67, Europa Business Park, )=- > -=( Bird Hall Lane, STOCKPORT, SK3 0XA, UK. || www.mev.co.uk )=- > > -- > You received this message because you are subscribed to the Google Groups > "outreachy-kernel" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to outreachy-kernel+unsubscribe@xxxxxxxxxxxxxxxx. > To view this discussion on the web visit > https://groups.google.com/d/msgid/outreachy-kernel/f81a537c-c0fb-5133-52a3-825128814435%40mev.co.uk. > _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel