[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20121024.231058.2042587746412597890.davem@davemloft.net>
Date: Wed, 24 Oct 2012 23:10:58 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: sony.chacko@...gic.com
Cc: netdev@...r.kernel.org, Dept_NX_Linux_NIC_Driver@...gic.com
Subject: Re: [PATCH V3 02/21] qlcnic: create seperate file for data path
routines
From: Sony Chacko <sony.chacko@...gic.com>
Date: Tue, 23 Oct 2012 18:30:53 -0400
> +static inline bool qlcnic_82xx_check(struct qlcnic_adapter *adapter)
> +{
> + return (adapter->pdev->device == PCI_DEVICE_ID_QLOGIC_QLE824X) ? 1 : 0;
> +}
"bool" is either "true" or "false", so return "true" or "false" rather
than "1" or "0"
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists