Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1371966 > unrolled thread
| Started by | Clifton Barnes <clifton.a.barnes@gmail.com> |
|---|---|
| First post | 2016-04-05 23:40 +0200 |
| Last post | 2016-04-05 23:40 +0200 |
| Articles | 2 — 1 participant |
Back to article view | Back to linux.kernel
[PATCH 1/2] staging: slicoss: fix bare use of 'unsigned' Clifton Barnes <clifton.a.barnes@gmail.com> - 2016-04-05 23:40 +0200
[PATCH 2/2] staging: slicoss: fix missing blank line Clifton Barnes <clifton.a.barnes@gmail.com> - 2016-04-05 23:40 +0200
| From | Clifton Barnes <clifton.a.barnes@gmail.com> |
|---|---|
| Date | 2016-04-05 23:40 +0200 |
| Subject | [PATCH 1/2] staging: slicoss: fix bare use of 'unsigned' |
| Message-ID | <rkGRA-1Og-3@gated-at.bofh.it> |
fix checkpatch.pl warning about 'Prefer 'unsigned int' to bare use of
'unsigned''
Signed-off-by: Clifton Barnes <clifton.a.barnes@gmail.com>
---
drivers/staging/slicoss/slicoss.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/slicoss/slicoss.c b/drivers/staging/slicoss/slicoss.c
index fa61e8e..cb1ad76 100644
--- a/drivers/staging/slicoss/slicoss.c
+++ b/drivers/staging/slicoss/slicoss.c
@@ -1144,7 +1144,7 @@ static int slic_config_get(struct adapter *adapter, u32 config, u32 config_h)
/*
* Compute a checksum of the EEPROM according to RFC 1071.
*/
-static u16 slic_eeprom_cksum(void *eeprom, unsigned len)
+static u16 slic_eeprom_cksum(void *eeprom, unsigned int len)
{
u16 *wp = eeprom;
u32 checksum = 0;
--
1.9.1
[toc] | [next] | [standalone]
| From | Clifton Barnes <clifton.a.barnes@gmail.com> |
|---|---|
| Date | 2016-04-05 23:40 +0200 |
| Subject | [PATCH 2/2] staging: slicoss: fix missing blank line |
| Message-ID | <rkGRB-1Og-33@gated-at.bofh.it> |
| In reply to | #1371966 |
fix checkpatch.pl warning about 'Missing a blank line after
declarations'
Signed-off-by: Clifton Barnes <clifton.a.barnes@gmail.com>
---
drivers/staging/slicoss/slicoss.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/staging/slicoss/slicoss.c b/drivers/staging/slicoss/slicoss.c
index cb1ad76..ac126d4 100644
--- a/drivers/staging/slicoss/slicoss.c
+++ b/drivers/staging/slicoss/slicoss.c
@@ -898,6 +898,7 @@ static void slic_upr_start(struct adapter *adapter)
{
struct slic_upr *upr;
__iomem struct slic_regs *slic_regs = adapter->slic_regs;
+
upr = adapter->upr_list;
if (!upr)
return;
--
1.9.1
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web