[PATCH] staging: xgifb: This patch removes the unnecessary return statement using spatch
This patch removes unnecessary return statement using spatch tool Signed-off-by: Rahul Krishnan --- drivers/staging/xgifb/vb_init.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/xgifb/vb_init.c b/drivers/staging/xgifb/vb_init.c index 14af157..591a3c9 100644 --- a/drivers/staging/xgifb/vb_init.c +++ b/drivers/staging/xgifb/vb_init.c @@ -579,8 +579,7 @@ static unsigned char XGINew_CheckFrequence(struct vb_device_info *pVBInfo) if ((data & 0x10) == 0) { data = xgifb_reg_get(pVBInfo->P3c4, 0x39); - data = (data & 0x02) >> 1; - return data; + return (data & 0x02) >> 1; } return data & 0x01; } -- 2.7.4 ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
[PATCH] staging: lustre: selftest: Make brw_inject_one_error() static
Since the function brw_inject_one_error() is used only within brw_test.c, make it static. This was reported as a warning by sparse. Signed-off-by: Karthik Nayak --- drivers/staging/lustre/lnet/selftest/brw_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/lustre/lnet/selftest/brw_test.c b/drivers/staging/lustre/lnet/selftest/brw_test.c index 67b460f..b9ac34e 100644 --- a/drivers/staging/lustre/lnet/selftest/brw_test.c +++ b/drivers/staging/lustre/lnet/selftest/brw_test.c @@ -136,7 +136,7 @@ brw_client_init(struct sfw_test_instance *tsi) return 0; } -int brw_inject_one_error(void) +static int brw_inject_one_error(void) { struct timespec64 ts; -- 2.10.2 ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
[PATCH] drivers: staging: iio: cdc: fix return value
At the end of function ad7150_write_event_config(), "return 0" seems improper. It may be better to return the value of ret. Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=188871 Reported-by: Pan Bian Signed-off-by: Thomas Preisner Signed-off-by: Milan Stephan --- drivers/staging/iio/cdc/ad7150.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/iio/cdc/ad7150.c b/drivers/staging/iio/cdc/ad7150.c index 6998c3d..04861eb 100644 --- a/drivers/staging/iio/cdc/ad7150.c +++ b/drivers/staging/iio/cdc/ad7150.c @@ -274,7 +274,7 @@ static int ad7150_write_event_config(struct iio_dev *indio_dev, error_ret: mutex_unlock(&chip->state_lock); - return 0; + return ret; } static int ad7150_read_event_value(struct iio_dev *indio_dev, -- 2.7.4 ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
E-Book zum Thema Fahrräder
Hallo, unter http://www.fahrradexperten.com/thema/fahrradhaendler biete ich ein kostenloses E-Book zum Thema Fahrräder mit umfassenden Informationen zum Download an. Bei den Recherchen für das E-Book bin ich unter anderem auf Ihre Webseite gestoßen. Wären Sie bereit, meine Webseite bzw. das E-Book von Ihrer Webseite aus zu verlinken (z. B. von http://driverdev-devel.linuxdriverproject.narkive.com/0D3HIgUY/diepresse-com-mein-freund-der-fahrradhandler)? (Das E-Book kann übrigens ohne Anmeldung oder ähnliche Hürden einfach im PDF-Format heruntergeladen werden, ohne weitere Verpflichtungen. Das wird auch dauerhaft so bleiben.) Falls das für Sie interessant ist, kann ich Ihnen gerne einen (eigens geschriebenen) Artikel zum Thema zusenden, den Sie auf Ihrer Webseite veröffentlichen können. Wenn Sie möchten, kann ich im Gegenzug Ihre Webseite von einer meiner anderen Webseiten verlinken. Freundliche Grüße, Tobias Neumann ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
FINAL RESULT 2016
Office address: 1818 H Street, NW Washington, DC 20433 USA: Tel: +1 9406047524 My name is Mr. Randy Hyde from Financial Investigation on Foreign payments; this panel was constituted by WORLD BANK, CENTRAL BANK of NIGERIA: IMF, GOVERNMENT OF GHANA including SOUTH AFRICAN GOVERNMENT and other African Countries Due to high level of FRAUD. The motive is to investigate illegal Payments to wrong accounts and to stop Fraud and Scam which is on high level from MOST African Countries which has also INVOLVED the good country Great Britain and also hitting other countries. During my investigations and deep researches, based on the authority/ given to me concerning foreign payments. I came to understand THE TRUTH, which is holding your payment. Someone contacted you for this transaction to fix your name as the legal rightful beneficiary to enable you PROVIDE AN ACCOUNT that will receive the money by registering you as the legal beneficiary of the fund which he promised to conclude the arrangement and share the fund with you by percentage. Further investigations proved that you have made so many attempts trying to receive the money but all efforts were to no success. Rather they keep demanding fees, ON and ON. Again you Where promised that you will receive the payment through OFFSHORE PAYMENT? Or through Diplomatic via consignment in (2 BOXES) with assistance of so-called Diplomat to deliver CASH to your house through diplomatic agent which their member will call you claiming to be at airport by requesting more money for Air port clearance E.T.C. There were so many attempts even through FAKE ATM MASTER CARD and also FAKE bank check which ALL failed. IF YOU WILL BE HONEST and TRUTHFUL THEN CONTACT THE CURRENT PERSON IN CHARGE OF FOREIGN PAYMENTS FROM ALL AFRICAN BANKS: HERE ARE THE CONDITIONS. WE will have 40% of the money then 60% for you. If this is ok by you then contact the Payment Foreign Controller with your details for your payment process. Mr. Richard L Mufu EMAIL: rdlensk...@gmail.com IF YOU ARE NOT READY; I will advise you, NOT TO REPLY or contact him because my job is to confirm the rightful beneficiary and his duty is to process the payment as directed by the above offices. Yours in service Mr. Randy Hyde Tel: +1 940 6047524 ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
9????????????
YAU deveitu4 ?.xls Description: application/msexcel ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel