From mboxrd@z Thu Jan 1 00:00:00 1970 From: SF Markus Elfring Date: Mon, 30 Oct 2017 08:04:36 +0000 Subject: Re: IB/mlx4: Use common error handling code in __mlx4_ib_create_flow() Message-Id: List-Id: References: <0bcea3cf-91e3-01d5-8d80-34cd6b611fb1@users.sourceforge.net> <70843f43-03c5-8295-643a-4f228ff2e907@intel.com> <0c92fc8e-ecb8-c7ed-0b4c-721752297222@users.sourceforge.net> <20171027193601.GI16127@mtr-leonro.local> In-Reply-To: <20171027193601.GI16127-U/DQcQFIOTAAJjI8aNfphQ@public.gmane.org> MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable To: Leon Romanovsky , Dennis Dalessandro , Doug Ledford , linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org Cc: Hal Rosenstock , Sean Hefty , Yishai Hadas , Yuval Shaia , LKML , kernel-janitors-u79uwXL29TY76Z2rM5mHXA@public.gmane.org >>> I mean you aren't really making the code any smaller >> >> Would anybody like to check corresponding effects in more detail >> after a specific function call was replaced by a goto statement? >=20 > You are supposed to do it and not "anybody". I can offer another bit of information for this software development discus= sion. The following build settings were active in my =93Makefile=94 for this Linu= x test case. =85 HOSTCFLAGS =3D -Wall -Wmissing-prototypes -Wstrict-prototypes -O0 -fomit-= frame-pointer -std=3Dgnu89 =85 The affected source file can be compiled for the processor architecture =93= x86_64=94 by a tool like =93GCC 6.4.1+r251631-1.3=94 from the software distribution =93openSUSE Tumbleweed=94 with the following command example. my_cc=3D/usr/bin/gcc-6 \ && my_module=3Ddrivers/infiniband/hw/mlx4/main.o \ && git checkout next-20171009 \ && make -j4 CC=3D"${my_cc}" HOSTCC=3D"${my_cc}" allmodconfig "${my_module}"= \ && size "${my_module}" \ && git checkout next_fine-tuning_in_mlx4_1 \ && make -j4 CC=3D"${my_cc}" HOSTCC=3D"${my_cc}" allmodconfig "${my_module}"= \ && size "${my_module}" Do you find the following details useful for further clarification? text: -32 data: 0 bss: 0 Regards, Markus -- To unsubscribe from this list: send the line "unsubscribe kernel-janitors" = in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html