From mboxrd@z Thu Jan 1 00:00:00 1970 From: Faisal Latif Subject: Re: [PATCH] i40iw: Remove macros I40IW_STAG_KEY_FROM_STAG and I40IW_STAG_INDEX_FROM_STAG Date: Thu, 6 Oct 2016 15:02:20 -0500 Message-ID: <20161006200220.GB14272@flatif-MOBL1> References: <1475668538-12914-1-git-send-email-thuth@redhat.com> <20161005125711.GG9282@leon.nu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20161005125711.GG9282-2ukJVAZIZ/Y@public.gmane.org> Sender: linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Leon Romanovsky Cc: Thomas Huth , linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Chien Tin Tung , Mustafa Ismail , Shiraz Saleem , Tatyana Nikolova , Doug Ledford , Sean Hefty , Hal Rosenstock List-Id: linux-rdma@vger.kernel.org On Wed, Oct 05, 2016 at 03:57:11PM +0300, Leon Romanovsky wrote: > On Wed, Oct 05, 2016 at 01:55:38PM +0200, Thomas Huth wrote: > > The macros I40IW_STAG_KEY_FROM_STAG and I40IW_STAG_INDEX_FROM_STAG are > > apparently bad - they are using the logical "&&" operation which > > does not make sense here. It should have been a bitwise "&" instead. > > Since the macros seem to be completely unused, let's simply remove > > them so that nobody accidentially uses them in the future. And while > > we're at it, also remove the unused macro I40IW_CREATE_STAG. > > > > Signed-off-by: Thomas Huth > > Thanks, > Reviewed-by: Leon Romanovsky Thanks Acked-by: Faisal Latif -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html